updated so the file deletions are commited  and fixed some errors
Configured app for Production emails