swapping initialize and config block for mailer