added mailer and default route for config