Gravar-mail: Energy Window Optimization for X-ray K-edge Tomographic Imaging