fixes converting from eml to html