configure for mailer