Is there any library to parse email messages? I know there are a lot. In addition to basic MIME parsing it should be able to parse things like:
- If the mail is a forwarded message: parse and tell me the original sender of the message.
- Get the the parts that should be quoted. I mean like Gmail shows "- Show quoted text -"
It should support one of these: C/C++, PHP, Python