I've built an Automation to run a workspace when Server receives an email containing some key text. The problem is that the email remains in the IMAP mailbox after the Automation has run, so in 5-minutes when Server polls the mailbox and finds the same piece of email, it want to run the whole thing over again. How do I make it delete the email once it has been processed?
Server will execute when the account is polled for new email if you set the "Email to Fetch" to "New Emails Only". It shouldn't read old emails at all.
If you send 2 emails to the account and there's 10 emails already there it will initiate 2 processes based off the data in the 2 new emails and ignore the rest.
The nature if IMAP is to poll emails on the server, not so much for management of emails like POP3. If you need to delete emails you can setup rules in a POP3 email client that will delete read messages.
I'm completely new to Automations via email, so perhaps you're right, but that didn't seem to be the case yesterday when it appeared it was continuing to process the email after its next poll. Of course it could have just been me messing around with things too much and then misinterpreting what I was seeing, so I'll give a chance. Thanks.
Further testing confirms you're correct JL. Thanks again.