Hi All,
I am new to IMAP and this may not be a imapclient specific question. I was wondering if there is a way to skip fetching attachments?
I know passing 'ENVELOPE' (client.fetch(uid, ['ENVELOPE'])) gives a summary, what I need is along with ENVELOPE is the text/plain and text/html (if present)
I am trying to fetch my entire mailbox to perform some analytics, it runs into a couple of gigabytes if I fetch along with attachments, and they are of no use to me.
any help would be appreciated.
Hi All,
I am new to IMAP and this may not be a imapclient specific question. I was wondering if there is a way to skip fetching attachments?
I know passing 'ENVELOPE' (
client.fetch(uid, ['ENVELOPE'])) gives a summary, what I need is along with ENVELOPE is the text/plain and text/html (if present)I am trying to fetch my entire mailbox to perform some analytics, it runs into a couple of gigabytes if I fetch along with attachments, and they are of no use to me.
any help would be appreciated.