1) Cleaned up a clutter of logs that's making it extremely difficult to debug.
2) Introduced custom log level to set the logging level per environment (qa/pre-prod/prod)
3) Disabled Databamapper verbose logging.
4) Fixed. When email send flag is set to false, entire json was printing to the log instead of the email body.