added commented out code for creating email