Emailing CSV and Logging code commented out version of app.