Cannot Extract Body Text from Outlook Mail Message

I need to extract the body text from Outlook emails. I see many posts on this topic, but none of the solutions work for me. It always returns a blank.
item.Subject.ToString works fine, but item.Body.ToString returns a blank.

I have tried all of the common fixes:

Can you please send what the variable item returns in the Immediate panel?

And where are you assigning the item variable?


Welcome to uipath forum

I hope all these will work for sure

I hope you didn’t retrieve any mail from get mail activity

Once after you get the outout variable from mail activity say named out_mailmessage, use a writeline activity and mention like this


If the count is more than 0 only then the above expression will work

Cheers @feighc