Get Email body from Gmail

Hello. Using Get IMAP Mail Message activity. I’m trying to get the body from my emails using Assign=mail.Headers(“PlainText”) Unfortunately I get the body of two emails and the remaining 3 give me an error ”Object reference not set to an instance of an object” I know it’s coming from the mail.headers assign, because in debug mode it highlights this activity. Is this a bug or is there something I can do to get the rest of the emails to show.

Thanks in advance :grinning:

Hy @alvini,

There is a specific package for gmail, please have a look:

Happy Automation

Yes. These are Enabled. But I believe my issue may have stemmed from the actual emails not having “Plain Text” in them.