You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changing it to the below snippet worked for my case 😁
Sorry I don't have time to do it properly as part of a pull request at the moment. I'm not sure if my use of lodash flattenDeep would cause problems in other scenarios.
I suspect there's only nested parts if the mimeType is 'multipart/mixed'
@HanaanY Thanks for sharing the issue and solution. I haven't got time to look into that. But, I will look into that and fix within 2 weeks. Thanks again.
hello, firstly I'd like to say nice project!
I tried using it and it found the label I was looking for, it found all the emails under the label but it didn't find any attachments
I traced the problem to
index.js
, line 189 in the functionpluckAllAttachments
It seems not all messages that have attachments, have anattachmentId
. Sometimes they are found in the same object but in thedata
key. See gmail api https://developers.google.com/gmail/api/reference/rest/v1/users.messages.attachmentsit seems the messages that are causing the problem have nested parts which contain the relevant
attachmentId
The messages in question were forwarded with an iPad FWIW
EDIT: removed something I was wrong about, added what the actual problem was 😅
The text was updated successfully, but these errors were encountered: