Trying to adapt mailer settings to next.