Adding email feature to web app