Gravar-mail: Numerical optimization of spherical variable-line-spacing grating X-ray spectrometers