How to read only emails which has the attachments

how to read only the emails which has the attachments . using the imap .

Use the condition “mail.Attachments.Any” and then save attachments if true

1 Like