added ability to receive emails in app