title: Programatically forward Gmail messages & retain message formatting?
body: <p>Is there any way to programatically forward email messages from Gmail to another email address, and retain all formatting - using C#?</p>
  
  <p>I've got an ASP.NET web application which needs to do this.  Currently, I'm download emails using IMAP, with the <a href="http://hellowebapps.com/products/imapx/" rel="nofollow">ImapX</a> library, storing the HTML &amp; text bodies, and then creating a new message with this data and sending the message using the System.Net.Mail class, but messages are losing their formatting, as well as any attached images, etc.</p>
  
  <p>Ideally, I'd like to be able to just store the message-id in the database (which I'm doing already), and then be able to programatically connect to Gmail, retrieve the message using the specified message-id, and forward this to another email address.  Is there any easy way to do this?</p>
  
  <p>Any thoughts or advice would be most appreciated.  Thanks.</p>