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?
Solved
Can Server delete an email after an Automation has completed?
Best answer by jlbaker2779
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.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.