Gravar-mail: Incorporation of a spectral model in a convolutional neural network for accelerated spectral fitting