I know there are many different libraries to handle sending mail, but are there anyones for handling receiving of emails ?, im looking to implement something similar to plans@tripit.com, that is i send an email to that address and tripit will parse it and do stuff… is there a library like that ?
There is mail which implements RFC2822 parser. However you still need to handle receiving emails on your own. You probably would like to use some external service with web hooks for receiving, ex. Mailgun has such feature as well as SparkPost, SendGrid, and Mandrill.
I’ll repeat what @hauleth said and assert go with Mailgun or some other provider.
Mailgun makes receiving, and even programmatically routing, a breeze. I used it a few years back to handle RSVPs for my wedding. Far better to deal with a REST/HTTP api than the actual Email protocols