# How to cancel / stop job from the queue... it tries to move 5k emails and takes 5 sec for each

**URL:** <https://community.getmailspring.com/t/how-to-cancel-stop-job-from-the-queue-it-tries-to-move-5k-emails-and-takes-5-sec-for-each/3656>\
**Category:** Help\
**Tags:** folders\
**Created:** [December 27, 2021, 11:38am UTC](https://community.getmailspring.com/t/how-to-cancel-stop-job-from-the-queue-it-tries-to-move-5k-emails-and-takes-5-sec-for-each/3656 "2021-12-27T11:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![crysper](https://community.getmailspring.com/user_avatar/community.getmailspring.com/crysper/32/4144_2.png) [@crysper](https://community.getmailspring.com/u/crysper)\
**Post date:** [December 27, 2021, 11:38am UTC](https://community.getmailspring.com/t/how-to-cancel-stop-job-from-the-queue-it-tries-to-move-5k-emails-and-takes-5-sec-for-each/3656/1 "2021-12-27T11:38:12Z")

</div>

I just set up a rule and processed it over 30k emails and now it’s trying to move about 5k emails to the new folder based on the rule. It takes a super slow 5 sec per email to move and can’t use it the client for sending emails at all

Please help. How can I cancel that job? it will take forever to move all emails. I think it’s also a big bug, how can it take so much time to move a single email to a folder?

---

<div class="post-metadata">

**Author:** ![bengotow](https://community.getmailspring.com/user_avatar/community.getmailspring.com/bengotow/32/14_2.png) [@bengotow](https://community.getmailspring.com/u/bengotow)\
**Post date:** [September 18, 2026, 1:52am UTC](https://community.getmailspring.com/t/how-to-cancel-stop-job-from-the-queue-it-tries-to-move-5k-emails-and-takes-5-sec-for-each/3656/2 "2026-09-18T01:52:43Z")

</div>

While “Process entire inbox” is running, Preferences \> Mail Rules shows a progress line for that account (“… 1,234 processed”) with a **Stop** button next to it — click that and no more messages are evaluated. It only stops new matches from being queued, though: moves that were already handed to the sync engine still finish in the background, one at a time, and they pick up again after a restart because the task queue is persisted. For a run that’s already queued thousands of moves, stopping the rule and letting the queue drain is the way through.

Each move is a round trip to your mail server, which is why a huge batch is so much slower than the same rule catching messages one at a time as they arrive. If you’re setting up a rule mainly for future mail, skip “Process entire inbox” and use a search (`from:someone in:inbox`) plus select-all to file the existing backlog in one operation instead. Docs for the rules feature: [Automate your inbox with mail rules — Mailspring Documentation](https://getmailspring.com/docs/automate-your-inbox-with-mail-rules)
