A group called the "Indian Mujahideen" said it carried out the Ahmedabad attack, writing in an e-mail sent five minutes before the first blast that it was in revenge for a 2002 massacre in Gujarat of around 2,500 people, mainly Muslims, by Hindu mobs.