I'm programming a little Google App Script for which I need to get the real body of an e-mail (using gmail services).
By real I mean the pure body of a particular message, without the text that message may be replying to.
For example, a message body could be:
No, the game is on
On Aug 3, 2011, at 5:05 PM, Guy_Number_1 wrote:
Dear Guy_Number_2, do you want to come to a party with me?
I want to get only "No, the game is on".
I don't think I can parse the text because the way the quoted mail is separated may vary depending on the e-mail client used to compose it.
Any ideas on how to accomplish this?
