updates to generate task for email template test