Clean Email

Gmail API Rate Limits: Why a Big Cleanup Pauses or Slows Down

TL;DR

Gmail's API doesn't let any app send unlimited requests per minute. Here's what that limit actually is, why it matters most on huge mailboxes, and how Clean Email works within it.

What a Gmail API rate limit actually is

Every call an app makes to the Gmail API — listing messages, checking a label, moving mail to Trash — is measured in quota units and counted against a limit, not just counted as one generic "request."

Google enforces two separate ceilings on those units at the same time: one tied to your account specifically, and one shared across every account connected to the app. Hitting either one means Google slows down or briefly holds further requests until usage drops back under the ceiling.

Exact current unit costs and thresholds are set by Google and published in its Gmail API reference, since they can be adjusted over time.

Limit typeWhat it coversWhat happens when it's hit
Per-user limitAll Gmail API requests Clean Email makes for your account specificallyOnly your scan or cleanup slows down and waits; other users aren't affected
Per-project limitAll Gmail API requests Clean Email makes across every connected account combinedGoogle throttles requests app-wide until total usage drops back under the ceiling

Why a huge mailbox can't be cleaned in a single request

A mailbox with tens or hundreds of thousands of emails can't be listed, checked, and moved to Trash in one API call. Gmail's batch endpoints have practical limits on how much can go into a single request, and submitting everything at once would also blow straight through the per-minute rate limit.

So a full cleanup of a very large mailbox has to happen as a series of smaller requests spread out over time, rather than one giant instant operation.

How Clean Email chunks a large cleanup

Instead of trying to process an entire huge mailbox in one pass, Clean Email works through it in smaller batches, one after another.

Each batch is scanned and checked against the same protection rules as any other cleanup — starred, important, labeled mail, two-way conversations, attachments, and whitelisted senders are never touched — before anything in that batch is moved to Trash.

Because the mailbox is split into batches instead of one massive request, one enormous mailbox doesn't monopolize the app's shared per-project allowance. Other users' scans and cleanups keep running alongside it, and the large cleanup simply continues batch by batch until the whole mailbox has been worked through.

Is a paused or slow cleanup normal?

Yes, on a large mailbox. Rate limits mean cleaning a huge inbox takes longer than a small one, and it can look like it stalls between batches while it works through the mailbox.

What isn't normal is a cleanup that stops making any progress at all rather than continuing in batches over time. If that happens, reach out to contact@clean-email.com.

FAQ

Why did my Gmail cleanup pause partway through?
Gmail enforces a rate limit on the Gmail API — a cap on how many requests can happen per minute, both for your account and for the app as a whole. On a large mailbox, Clean Email processes emails in batches rather than all at once, so a cleanup can look paused between batches. This is expected behavior on a big mailbox, not an error, and the cleanup will keep going and complete.
What is a Gmail API rate limit?
It's a cap Google places on how many requests an app can send to the Gmail API in a given time window. Requests are measured in quota units rather than a simple count — actions like listing messages or moving mail to Trash each consume units — and Google enforces both a per-user ceiling and a per-project (app-wide) ceiling at the same time.
Why can't Clean Email delete 100,000+ emails in one request?
Gmail's API doesn't allow an app to submit an unlimited number of messages in a single call, and doing so would also break the per-minute rate limit instantly. Clean Email instead works through a huge mailbox in smaller batches, checking protection rules like starred, labeled, and attachment mail on each batch before anything is moved to Trash.
Will cleaning a huge mailbox block other users' cleanups?
No. Clean Email processes large cleanups in batches, so one very large mailbox works through its own queue of batches over time instead of using up the app's entire shared Gmail API allowance at once. Other users' scans and cleanups keep running at the same time.
How long should cleaning a very large mailbox take?
There's no fixed number — it depends on how many emails need to be processed and how the app's shared Gmail API allowance is being used at that moment. A mailbox with tens or hundreds of thousands of emails will typically take noticeably longer than a small inbox because it's worked through batch by batch rather than in one instant pass.
Is a slow or paused cleanup a sign something is broken?
Not on its own. A cleanup that keeps progressing in batches — even slowly on a very large mailbox — is normal behavior caused by Gmail's rate limits, not a malfunction. If a cleanup stops making any progress at all instead of continuing in batches, that's worth checking on by contacting contact@clean-email.com.

Sources

Clean your Gmail inbox now

Sign in with Google, scan your mailbox for free, then clean it in one click.

Clean your Gmail inbox now

Updated: 2026-07-29