Gravar-mail: Quantum-state transfer from an ion to a photon