renamed emailApp to example code