bugfix for mailer configuration