title: A tool to convert email to html
body: <p>Is there a tool that converts an email (rfc822 with mime and attachments) into html? It can be a python/perl/java library/module or a command line linux tool. I need to create a valid html (even if some parts of email aren't so valid). I don't need to check for virii and spam because the mail is assumed to be already cleared. A plus is to check for obviously dangerous things like javascripts and remote images but I can do it myself once I have a proper html.</p>
  
  <p>Yes, there is <a href="http://www.mhonarc.org/" rel="noreferrer">mhonarc</a> but it looks a bit obsolete and it generates many perl warnings.</p>