Skip to content
TriedPrompts

More in Email, Calendar & Organizing.

Cut 23,000 unread emails to about 8,000 with one Gemini command in Gmail

Asked to delete unread mail from 2009 to 2022, Gemini in Gmail cut 23,000 unread messages to about 8,000 in minutes.

Result: WorkedTool: GeminiLevel: EverydaySetup: Needs inbox or cart access

Copy the prompt

Outcome

Faced with more than 23,000 unread emails, David Alonge asked Gemini in Gmail to 'Delete all unread emails from 2009 to 2022.' Within a few minutes the unread count dropped to about 8,000, a job Alonge expected would have taken weeks by hand. Alonge's headline puts the whole job at less than 20 minutes, against an estimated two weeks by hand, for emails Alonge says weren't needed or wanted.

Evidence: Described by posterThe person describes what happened in words, without screenshots or video.

WorkedEvidence: Described by posterPosted Last checked

Level: Everyday. You need: An AI chat app. Some cases need an account, a paid plan or a file of your own.

How to use this

  1. Tap Copy prompt.
  2. Open Gemini.
  3. Paste it into the message box.
  4. Replace anything in [CAPITAL LETTERS IN BRACKETS] with your own details.
  5. Send it, then read the answer before acting on it.
New to this? What's a prompt?

A prompt is the message you send to the AI tool. Copy the one on this page, put your own details where it asks, and read the answer before you act on it.

Prompt

Improved prompt

Our fuller version of the source's prompt, with fill-in details and rules, or one written to avoid what went wrong. Not tested by the poster.

What the prompt labels mean

Our fuller version of the person's prompt. They didn't use this version, and we haven't tested it.

Run this task now, exactly as written below. Everything you need is here, so start straight away and only stop if something required is missing or a rule below tells you to.

Goal: Clear out old unread emails from my inbox in bulk, safely.

Fill in before running:
- The date range to clear: [FROM–TO]
- Senders or labels to keep no matter what: [KEEP LIST]

Rules:
- Before deleting, tell me how many emails match and show a sample from a few senders.
- Skip anything starred, marked important, or from my keep list.
- Move to Trash rather than deleting permanently, so I can recover anything.
- Wait for my OK before you delete.
- Check facts that can change (prices, opening hours, dates, availability, rules) against the official source, and tell me anything you couldn't verify.
- Afterwards, suggest two filters to stop the same clutter building up again.

Output: The count and a sample of what will be removed, then confirmation of what was moved to Trash.

You'll know it worked when: the old unread mail is gone and nothing I needed was lost.

Before you finish: re-read my goal and constraints, check your answer against each one, and list anything you assumed or couldn't confirm.

Try this in:

This prompt has blanks to fill in, like [KEEP LIST]. We'll copy it instead of filling it in, so you can edit it before you send.

Opens in a new tab. We don't see what you send.

These links are only a shortcut. We're not affiliated with OpenAI, Google, Anthropic or xAI, and your results may not match the source.

The prompt they actually used

The exact prompt from the source.

Delete all unread emails from 2009 to 2022.

AI tool

Gemini

Source

Posted
by David Alonge (LinkedIn)
Last checked
Method:
How we verify

https://www.linkedin.com/posts/davidalonge_what-could-have-taken-me-2-weeks-ai-did-activity-7290638847292379137-acgb

Context: The poster didn't say whether anything was reviewed before deletion; the stronger version adds a check first.

Tell us how it went A reader message. It is not published on this page, and it is not a test of the prompt.

More in Email, Calendar & Organizing

More in PersonalRandom case in Personal