Implement an email log with config options
Log download exceptions as notices
Remove debug code