Enviar por SMS: The index theorem and the heat equation method