Skip to main content
Solved

Can Server delete an email after an Automation has completed?

  • June 12, 2020
  • 3 replies
  • 23 views

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

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.

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

Forum|alt.badge.img+2
  • 194 replies
  • 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
  • 24 replies
  • 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
  • 24 replies
  • June 12, 2020

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