generate the email templates for tests