title: Parsing forwarded emails
body: <p>I'm writing some code to <strong>parse</strong> forwarded emails. What I'm not sure is if maybe there is some Python library, some RFC I could stick to or some other resource that would allow me to automate the task. </p>
  
  <p>To be precise, I don't know if the "layout" of forwarded emails is covered by some standard or recommendation, or if it has just evolved over the years so now most email clients produce similar output for the text part:</p>
  
  <pre><code>    Begin forwarded message: 
  
      &gt; From: Me &lt;me@me.me&gt;
      &gt; Date: January 30, 2010 18:26:33 PM GMT+02:00
      &gt; To: Other Me &lt;other-me@me.me&gt;
      &gt; Subject: Unwise question
  </code></pre>
  
  <p>-- and go wild for attachments (and whatever other MIME sections can be there). </p>
  
  <p>If it's still not precise enough I'll clarify it, it's just that I'm not 100% sure what to ask about (RFC, Python lib, convention or something else).</p>