Cleaning up input html. Enhancing email template.