fixed html email not being formatted correctly