Get first email in a mail conversation

How to fetch the latest mail from a chain of email conversations which can be Replies or Forwards? So basically I need the body of the email inbetween two From addresses in a mail trail.
Any regex expression to achieve the same?

Hi!

Have you tried with Headers?

if not Try with headers.

Let’s say:

  1. The output of the Get IMAP or Get Outlook Mail Message ->List of MailMessage

  2. Take one for each activity pass the List of MailMessage->Argument type->List of MailMessage

  3. Create one String variable Let’s say MailBody

MailBody = item.Headers("PlainText")

Check the parameters which is suitable for your requirement

Regards,
NaNi

will this help me in fetching only the first email in a conversation thread containing multiple replies in trail mail?

Hi!

Yes, in debug panel after for each check the item.headers, you can find the lot of parameters you can choose the parameters which will met your condition.

Regards,
NaNi