Gravar-mail: Towards lead-free perovskite photovoltaics and optoelectronics by ab-initio simulations