Closed cuuupid closed 4 years ago
After using List Messages, the result messages don't contain an "envelope" property. Tested on gmail with the query ['uid', 'flags', 'body.peek[HEADER.FIELDS (FROM)]'] and byUid: true. The result messages contain the body key but not the envelope:
['uid', 'flags', 'body.peek[HEADER.FIELDS (FROM)]']
byUid: true
[ { '#': 12937, uid: 69696, flags: [], 'body[header.fields (from)]': 'From: Sentry <noreply@md.getsentry.com>\r\n\r\n' } ]
Solved: envelope and bodystructure both need to be added to the query!
envelope
bodystructure
After using List Messages, the result messages don't contain an "envelope" property. Tested on gmail with the query
['uid', 'flags', 'body.peek[HEADER.FIELDS (FROM)]']
andbyUid: true
. The result messages contain the body key but not the envelope: