Added templateVars to export email.