Added configuration to the mailer