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