title: How do I parse text from email body using a Rails3 app?
body: <p>I need to get the name and email address from a forwarded email where there is a line like this in the body:</p>
  
  <pre><code>From: john smith &lt;sales@domain.com&gt;
  </code></pre>
  
  <p>What is the best way to do this? Is there a good library/gem I should use?</p>
  
  <p>Also this line will vary from which email client it's sent from and also what language, so I need a more robust way than just matching just this string.</p>
  
  <p>Also some clients do not include the name but just the email address on this line so I need to be able to handle that.</p>