Updated the error handler, added swift mailer and some additional config