fixed html email and new template.