I'm a large fan of the ezComponents library, which includes a Mail component which can handle both sending, and parsing mail (as well as connecting to your MTA to retrieve it.
http://ezcomponents.org/docs/tutorials/Mail#mail-parsers
Reading through the docs, it seems like it should be up to your task.