kylewritescode:

I need a robust email parsing library for PHP, ideally one that can handle multipart and plaintext messages, deal with proper decoding, etc. Any recommendations?

I ran into a similar problem with PHP, and turned to Python.  Use email.Parser.

I wrote http://lilsnaps.com in 80 lines of Python on a Saturday morning whilst hungover.  Very easy.