function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ray KaushikRay Kaushik 

Inbound Email handler and to get only latest mail

I am writing an inbound email handler.

My situation is that whenever we get a reply from a client through email to salesforce, I only want to parse through the mail that was sent now and not the complete mail thread.

Any idea how I can do that?