Gravar-mail: Optimal entrainment of heterogeneous noisy neurons