fix email tmpl