EmilTholin / gmail-api-parse-message

Parses the response from the Gmail API's GET message method
MIT License
45 stars 19 forks source link

Parsing message has undefined textPlain value #8

Open ShehabSN opened 4 years ago

ShehabSN commented 4 years ago

So for one email, it is a glassdoor type of email where it sends you confirmation of your application with the company logo and stuff, the textPlain value of the parsed message was undefined or null. However, the textHtml value was not undefined. Any idea why this happened and how to fix this? Is this because the message contained images and was not just text?

EmilTholin commented 3 years ago

Hi @ShehabSN! Sorry for the slow response on this.

Interesting. I'm not sure what could cause this. Do you think you could paste the Gmail API response of this email here in this issue? You can scrub out any sensitive information before you do.