More in Email, Calendar & Organizing.
Clean up a Gmail inbox with Gemini's search prompts (hit or miss)
Gemini in Gmail wrote and summarized emails well; its search and clean-up prompts only partly worked, about 25% of the time.
Result: PartialTool: Gemini in GmailLevel: AdvancedSetup: Needs a connected account or paid plan
Outcome
Tom's Guide's John Brandon found Gemini in Gmail accurate and helpful for composing and polishing emails and summarizing threads, but its inbox search and clean-up prompts were unreliable across about 650,000 emails. Asked who emailed most this year and in May, it listed two people Brandon had barely interacted with, apparently searching only recent mail. Asked which topics Brandon discussed most in 2025, it listed newsletters. Asked to write to the most frequent contacts about being out June 5–6, it again picked the people who emailed most and didn't set up a blind-copied email ready to send. It showed every recent email with an attachment instead of old ones with large attachments, refused to find the largest attachments, and found only four emails with shipping labels out of several dozen. 'Show me all emails with an attachment from May 2024' did work, and Brandon says clean-up worked about 25% of the time.
Evidence: Article or interviewA newsletter, journalist or interview account of what happened.
PartialEvidence: Article or interviewPosted Last checked
- Source checked
- Results shared. The poster described their results. This doesn't mean proof is attached.
- Limitations noted
Level: Advanced. You need: A tool that takes actions for you or writes code, connected accounts, or some setup on your computer.
How to use this
- Tap Copy prompt.
- Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
- Paste it into the message box.
- 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.
Our fuller version of the person's prompt. They didn't use this version, and we haven't tested it.
Before you start, ask me 1–3 short questions about anything important that's missing below. Keep them quick. Then do the task, checking in with me at the key points. Goal: Free up space and clutter in my mailbox by finding big, old or pointless emails, with me approving every deletion. What I can give you (ask for whatever's missing): - How full my storage is and my target - Date range to clean - Kinds of mail I'm happy to trash (promos, notifications, old attachments) - Senders or labels that must never be touched Rules: - Use precise searches (date ranges, has:attachment, larger:5M, category:promotions) and tell me the exact search you ran. - Show me a count and a sample of what each search finds before anything is deleted or archived. - Never delete; move to Trash or archive only after I confirm each batch. - If a search returns suspiciously few results, say so and give me the Gmail search string to run myself. - Check facts that can change (prices, opening hours, dates, availability, rules) against the official source, and tell me anything you couldn't verify. - Teach me the Gmail search operators you used so I can repeat the clean-up without AI. Output: A list of clean-up batches: search used, count found, size if known, and my yes/no. You'll know it worked when: I've cleared the batches I approved and nothing I wanted to keep was touched. 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:
Sends the Improved prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini and Claude open empty, so we copy the prompt for you to paste. Every button also copies it.
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.
Show me all emails with an attachment from May 2024
AI tool
Known limitations
PartialThe source says it only partly worked, or had a significant problem a person had to deal with.
What went wrong: Search and clean-up prompts worked only about 25% of the time and mostly looked at recent emails.
What to try next: The source does not say what to try next.
Source
- Posted
- by John Brandon (Tom's Guide)
- Last checked
- Method:
- How we verify
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
Move hundreds of Evernote notes to Apple Notes with Claude
Locked out after a doubled Evernote price, a user had Claude move hundreds of notes to Apple Notes in about 40 minutes, then quit.
WorkedClaudeEverydayView CaseLet Gemini read a Gmail inbox aloud while driving and hear emails that weren't there
Gemini read out emails that weren't in Kushlan's inbox, then asked for the Gmail password before sending a test email.
FailureGeminiEvidence: Screenshots or logsEverydayView CaseHelp parents over 65 reply to email with Copilot and find it can't reply in place
Sean Freimond tried Copilot for parents over 65; it wrote a draft but couldn't reply to the actual email, so Claude was next.
FailureCopilotEvidence: Described by posterEverydayView CaseRun weekly grocery, meal-planning and family dinner-vote agents with Claude
Tristen O'Brien runs twelve home and family agents on Claude, including weekly groceries, meal planning and a dinner vote bot.
WorkedClaudeEverydayView CaseBuild a family household manager app with calendar, chores and meals with Meta's Muse
Amanda Caswell had Meta's Muse build a family app with a Today view, shared calendar, chores, groceries and meal planning.
WorkedMuseEvidence: Article or interviewAdvancedView CaseGet a daily family calendar brief and route grocery reminders to the right store with OpenClaw
pclark's OpenClaw assistant sends a daily brief from work, parenting and personal calendars and files grocery reminders by store.
WorkedOpenClawEvidence: Described by posterAdvancedView Case
Similar cases
Clear 23,000 emails and unsubscribe from newsletters in Gmail with ChatGPT's Gmail connection
Connected to Gmail, ChatGPT listed subscriptions, unsubscribed, set rules and deleted over 23,000 emails.
WorkedChatGPTEvidence: Described by posterEverydayView CaseSort a week of unread email into reply, money and clutter with Gemini
A scheduled Gemini in Gmail action sorts a week of unread mail into reply, money and clutter; the writer cleared 200 threads.
WorkedGemini in GmailEvidence: Article or interviewAdvancedAccording to Android Police: 200 unread threads cleaned in one hour
View CaseClear out one sender's promo emails with Gemini Spark by asking for a count before anything is deleted
Gemini Spark found and trashed exactly 20 emails from one sender, but asked approval 20 times; Gmail search was faster.
WorkedGemini SparkEvidence: Screenshots or logsAdvancedView CaseClear over 9,400 unread emails safely by building a 'safe list' first with ChatGPT
With Gmail connected, ChatGPT protected key mail and bulk-cleared 4,500+ emails to inbox zero in 30 minutes.
WorkedChatGPTEvidence: Described by posterEverydayView CaseCut 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.
WorkedGeminiEvidence: Described by posterEverydayView Case

