Gravar-mail: Optimization of dense multi-wavelength optical communication systems (WDM)