Delete email via IMAP?

Republishing an edited Flow using IMAP new email trigger then re-runs on every existing email in the inbox. Is there a way to delete an email in IMAP?

it has been a week since you posted the question, have you received any response maybe via a private message?

Sadly, no, I have not received any response, not even via private message.

Still no response. Can anyone assist? Thx.

Do you mean that you want to delete emails or you just want to make sure you don’t re-read old emails when you republish the flow? @here