run the email template generation in parallel prepare