Prepare mailer config