This reminds me of a problem I've been wanting to solve for a long time.<p>A lot of web apps use email to deliver notifications and other data like reports. I want to take these emails and process them whenever a new email arrives.
A few qualifications:
<i>The email server and the processing server are separate.
</i>Need to access any attached files as well as the message body and other headers.
*Ideally, I don't want to deal with any email related libraries at all i.e. want to use something like a Rest API or even FTP (like in the libgmail library linked to in this post). This would make it usable from any language without needing a special email library.<p>Example Use Case:
Your web analytics software sends you a daily report with an attached CSV file. You want to grab the data from the CSV and put it in a database so you can create a nice dashboard for your site.<p>Would love to hear from anyone that has had experience with a system like this and could point me in the right direction.