Get Exchange Mail Messages: Read body of forwarded email

Hi

I would like to be able to grab the body of a forwarded message with UI Path. At the moment it just grabs the body of the email which was sent to the robot, not the body of the original email which was forwarded. Is there a way to do this?

@KEntwistle, did you figure this out?

Do you mean that you are currently reading the email that is in the Inbox of the robot, but you want to read the email from the Sent folder of the original sender?

@KEntwistle you can find the full body of your email (including replied or forwarded messages) by looking into email’s headers.
You can access it something like: mail.Headers(“PlainText”) or mail.Headers(“HtmlBody”)