# Accidentally deleted all mail in a folder, can I stop emclient from syncing that?

**URL:** <https://forum.emclient.com/t/accidentally-deleted-all-mail-in-a-folder-can-i-stop-emclient-from-syncing-that/62264>\
**Category:** Uncategorized\
**Created:** [February 21, 2020, 2:16pm UTC](https://forum.emclient.com/t/accidentally-deleted-all-mail-in-a-folder-can-i-stop-emclient-from-syncing-that/62264 "2020-02-21T14:16:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dma2112](https://forum.emclient.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@dma2112](https://forum.emclient.com/u/dma2112)\
**Post date:** [February 21, 2020, 2:16pm UTC](https://forum.emclient.com/t/accidentally-deleted-all-mail-in-a-folder-can-i-stop-emclient-from-syncing-that/62264/1 "2020-02-21T14:16:49Z")

</div>

Hey all, so I have a macro for delete all that is very powerful.&nbsp; Unfortunatly, I was clearing out a logging folder where notifications go (so I thought) and accidentally issued a delete all on my sent mail.&nbsp; I killed the EMclient task and was able to recover the mail in Office365 and Gmail.&nbsp; However, when I restart EMclient it still tried to continue that directive and kills mail about 100 emails a second.&nbsp; Is there a way I can tell it not to do that, besides remove and reinstall?&nbsp; I was thinking of turning wifi off and restarting to poke around.

---

<div class="post-metadata">

**Author:** ![dma2112](https://forum.emclient.com/letter_avatar_proxy/v4/letter/d/c2a13f/32.png) [@dma2112](https://forum.emclient.com/u/dma2112)\
**Post date:** [February 21, 2020, 2:26pm UTC](https://forum.emclient.com/t/accidentally-deleted-all-mail-in-a-folder-can-i-stop-emclient-from-syncing-that/62264/2 "2020-02-21T14:26:47Z")

</div>

ok, so it turned on airplane mode, dropped the account and now am resyncing.&nbsp; It would be interesting to know if there is a way to abort something like this.
