bug fix...initialize all template variables for the prepare email template