wave-email-notifications

Is there any way to reliably parse email messages?

What I’m talking about is constructing a tree from an email message. Usually when you get an email and reply back and forth then you end up with something that looks something like this:

Is there any way to reliably parse a message like this and get a tree of messages with headers, top-posts, […]