Added loadConfig to Mailer