updated the mailer module again and updated config