Generate mailer and create mailer templates.