Completed the email controller, need to redo the scraper for logging etc