Updating html email content generation