Gravar-mail: Deep-learning-based direct inversion for material decomposition