Delete 47,000 old promotional emails by finding the top senders first with Claude
- Posted
- by J. McLaughlin (Substack)
- Last checked
- Method:
- How we verify
Evidence: Described by posterThe person describes what happened in words, without screenshots or video.
Context: The writer shares AI tips for parents online, and this post was first offered to paid subscribers.
Outcome
With Claude connected to their Gmail, J. McLaughlin asked for a snapshot of the mailbox, then for the highest-volume promotional senders: years of store deals, grocery ads and app notifications. Claude pulled unsubscribe links and wrote Gmail search queries for each round of bulk deletion, which McLaughlin ran and confirmed in Gmail themselves. In one sitting they deleted more than 47,000 emails, over half the mailbox, and got the inbox down to five things that mattered.
Agent
Prompt Original prompt
Exact prompt as published in the source.
Go through my Gmail and find the highest-volume promotional senders. I want to know who has been sending me the most emails so I know who to unsubscribe from and bulk delete.
Try this in:
Sends the Original prompt shown above. ChatGPT and Grok open with it filled in, and ChatGPT may send it straight away. Gemini opens empty, so we copy the prompt for you to paste. Every button also copies it.
The source used Claude. These are general chat tools, so results may differ.
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 or xAI, and your results may not match the source.
Optional stronger version
Our rewrite with extra checks. The poster didn't test 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: Find who's flooding my inbox and give me ready-to-paste Gmail searches to bulk-delete old clutter in rounds. Fill in before running: - My Gmail connected to the assistant: [ACCOUNT] - Senders or types of email I want to keep: [KEEP] - How far back to clean: [AGE] Rules: - Start with my total message and thread counts so I can track progress. - List the highest-volume promotional and notification senders. - Give exact Gmail search queries, biggest impact first, that exclude starred, important and anything I said to keep. - I'll do the deleting in Gmail myself; you suggest and count. - Check facts that can change (prices, opening hours, dates, availability, rules) against the official source, and tell me anything you couldn't verify. - Remind me to check the trash for anything important before it empties. Output: A ranked list of senders with unsubscribe links, and a sequence of Gmail search queries to run. You'll know it worked when: my mailbox count drops sharply and my inbox holds only things I need to act on. Before you finish: re-read my goal and constraints, check your answer against each one, and list anything you assumed or couldn't confirm.
Customize the stronger version
Answer these questions and we'll put your answers into the stronger version. The original prompt above stays exactly as published.
Your prompt
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: Find who's flooding my inbox and give me ready-to-paste Gmail searches to bulk-delete old clutter in rounds. Fill in before running: - My Gmail connected to the assistant: [ACCOUNT] - Senders or types of email I want to keep: [KEEP] - How far back to clean: [AGE] Rules: - Start with my total message and thread counts so I can track progress. - List the highest-volume promotional and notification senders. - Give exact Gmail search queries, biggest impact first, that exclude starred, important and anything I said to keep. - I'll do the deleting in Gmail myself; you suggest and count. - Check facts that can change (prices, opening hours, dates, availability, rules) against the official source, and tell me anything you couldn't verify. - Remind me to check the trash for anything important before it empties. Output: A ranked list of senders with unsubscribe links, and a sequence of Gmail search queries to run. You'll know it worked when: my mailbox count drops sharply and my inbox holds only things I need to act on. Before you finish: re-read my goal and constraints, check your answer against each one, and list anything you assumed or couldn't confirm.
Scroll to see the whole prompt. Your answers show in green.
3 blanks are still empty: My Gmail connected to the assistant; Senders or types of email I want to keep; How far back to clean. They'll stay in brackets in your prompt, so the chat tool may ask you about them.
What you type stays in this browser tab. We don't send it or save it, and it's gone when you leave the page.
Source
https://thejaimemclaughlin.substack.com/p/how-i-deleted-47000-emails-in-one
Related cases
- Clear over 9,400 unread emails safely by building a 'safe list' first with ChatGPTEvidence: Described by poster
Back from a week away, Abha Malpani Naismith had more than 9,400 unread Gmail messages. Claude couldn't act inside the connected inbox for them, so they switched to ChatGPT with Gmail connected. It analysed the inbox by sender, subject and category without opening emails, built a 'Safe List' of financial, legal, medical, school and travel mail never to touch without approval, and then helped archive, label, delete or unsubscribe in bulk. They archived or deleted more than 4,500 emails and reached inbox zero in about 30 minutes.
ChatGPT · Personal · Source date:
- Set up a weekly Gmail clean-up script that protects receipts with GeminiRecreated promptEvidence: Described by poster
Andrew Ledet was tired of repeating a two-hour manual inbox clean-up. Working with Gemini, they built a Google Apps Script 'Janitor' that audits top senders, does a dry run, then clears old promotions, social and update emails while skipping anything from themselves, starred, or that looks like a receipt or order. The first run deleted more than 5,000 emails in a few minutes, and it now runs automatically every Monday at 3 a.m.
Gemini · Personal · Source date:
- Cut 23,000 unread emails to about 8,000 with one Gemini command in GmailEvidence: Described by posterBeginner-friendly
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.
Gemini · Personal · Source date: