Added error handling to identify: - errors creating the mail headers - errors processing JSON input - errors in the mailer configuration
Added error handling to identify: - errors creating the mail headers - errors processing JSON input - errors in the mailer configuration