Set up basic template of mailer.