Skip to main content
Solved

Can Server delete an email after an Automation has completed?


garyb
Contributor
Forum|alt.badge.img+5
  • Contributor

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?

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.

 

 

View original
Did this help you find an answer to your question?

3 replies

Forum|alt.badge.img+2
  • Best Answer
  • June 12, 2020

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.

 

 


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • June 12, 2020

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.


garyb
Contributor
Forum|alt.badge.img+5
  • Author
  • Contributor
  • June 12, 2020

Further testing confirms you're correct JL. Thanks again.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings