added email functionality to production app