added some changes to the configuraiton for the mailer