I am creating an automation to read all the unread mails, and check them if they contains any word “some keywords” in the body or subject, and then copy the body in a text file.
I want then, only if “some keywords” is found (hence the message content is copied to a text file), I want the mail is marked as read. (This makes Get IMAP Mail Message with Mark As Read checked is improper). Anyone know how to do this?
Notes: I am using IMAP in this mail processing.