Skip to content
TriedPrompts

More in Email, Calendar & Organizing.

Screen and clear an email inbox in one pass with Claude Code

The poster runs email in Claude Code: one pass screened 27 emails, archived and unsubscribed, and flagged three for real replies.

Result: WorkedTool: Claude CodeLevel: AdvancedSetup: Needs inbox or cart access

Copy the prompt

Outcome

The poster runs all email in Claude Code: in one pass it screened 27 emails, archived and unsubscribed, and sent sub-agents after the three that needed real thought.

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

WorkedEvidence: Described by posterPosted Last checked

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

  1. Tap Copy prompt.
  2. Open the tool the case used (or a similar one) and paste the prompt; results may differ from the original.
  3. Paste it into the message box.
  4. 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

Recreated prompt

The source didn't share its exact prompt, so we wrote one from what it describes. The result shown is the source's, not ours.

What the prompt labels mean

The person didn't share their exact words, so we wrote this from what they described. We haven't tested it, and they didn't use this exact version.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Go through my inbox, clear out what doesn't need me, and flag the few emails that do.

Check with me first: Which emails should never be archived, for example from certain people?

What I'll give you:
- Access to my email
- My rules for what's important

Rules:
- Sort emails into: archive, unsubscribe, and needs me.
- Show me the unsubscribe list before unsubscribing.
- For the few emails that need real thought, dig into each one and summarize it for me.
- If something is missing or unclear, ask me instead of guessing.
- Never send a reply without my OK.

Output: A short summary of what was archived or unsubscribed, and the few emails that need me, with a short summary of each.

You'll know it worked when: my inbox is down to only the emails that need my attention.

Try this in:

Sends the Recreated 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.

The source used Claude Code, which can take actions on your computer or in a browser. These are general chat tools, so results may differ, and a normal chat may only give you a plan.

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.

Optional stronger version

Our rewrite with extra checks. The poster didn't test it.

Here's a task I'd like your help with. Read it all the way through before you start.

Goal: Go through my inbox, clear what doesn't need me and flag the few emails that do.

Quick check first: tell me if anything below is missing or unclear.

Inputs (fill in or confirm):
- Email access
- Senders never to archive
- What counts as important
- How far back to process

Rules:
- Sort into archive, unsubscribe and needs me.
- Show proposed actions in a list before acting.
- Never delete; archive only.
- For 'needs me', give a one-line summary.
- Group unsubscribe candidates by sender with counts.
- Process in batches of 100 and report.
- Show me the flagged emails list.
- Draft replies for flagged emails but never send them.
- Unsubscribe only from senders I approve.

Checkpoint: Wait for approval before archiving or unsubscribing.

If you get stuck: If unsure, put it in 'needs me'. If a login, CAPTCHA or two-step code appears, stop and ask me to handle it; never guess or store passwords.

Verify before you finish: Check counts per bucket.

Output: Bucket list and summaries.

Done when: my inbox is clear and nothing important was archived.

AI tool

Claude Code

Source

Posted
by Francois de Fitte (@francoisdefitte)
Last checked
Method:
How we verify

https://x.com/francoisdefitte/status/2086831437047566793

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