title: How to access and extract emails from a SMTP server using APIs
body: <p>How can I extract extract emails and attachments using an API from a SMTP (Mail) server?</p>
  
  <p>I was trying to figure out how Posterous worked. I found this open source project but it had no source code.</p>
  
  <pre><code>https://code.google.com/p/os-posterous/
  </code></pre>