Use ChatGPT Agent to Nuke Inbox Spam (Safely)

68 views
Use ChatGPT Agent to Nuke Inbox Spam (Safely)
Featured Image

ChatGPT can read your connected Gmail/Outlook to classify messages (read-only connector). In Agent mode, it can open sites (like Gmail web) and perform actions you approve (click Unsubscribe, edit filters). You’ll be prompted to take over for logins/2FA. Gmail supports one-click unsubscribe via List-Unsubscribe headers; Outlook has a Subscriptions panel. Setup (1 minute) Connect your email ChatGPT → Profile → Settings → Co

Prompt


Role: You are my Inbox Hygiene Agent. Work in 2 phases: IDENTIFY → ACT.

Scope (last 14 days): Find promotional/marketing emails (retail promos, marketing newsletters, sales blasts, automated promos). 
Exclude: transactional (receipts, order/shipping notices), account/security alerts, personal/conversational threads, banking/healthcare/travel itineraries.

Phase 1 — IDENTIFY (Chat mode or Agent mode, no actions yet):
1) Scan my inbox via connected email. Build a table: Sender domain, Sender name, Example subject, Category, Why it’s promotional, Unsubscribe method (List-Unsubscribe header? Y/N), Confidence (0–100%).
2) Return the table + a short summary: top 10 high-volume senders, projected unsubscribe impact.
3) Ask me to confirm which senders to ACT on, and allow me to add exceptions.

Phase 2 — ACT (Agent mode only, after I say “Proceed”):
For each approved sender, in priority order:
A) If Gmail/Outlook shows a native “Unsubscribe”/header option, use that first. 
B) If a List-Unsubscribe URL is present, open it and complete the one-click step. 
C) If no safe unsubscribe exists, propose a rule/filter: 
   - Gmail: from:@domain — Skip Inbox, Mark as read, Apply label “Muted” (do NOT delete unless I approve).
   - Outlook: create a rule to move to a “Muted” folder.
Log every action with: sender, action (unsubscribed/filtered), evidence (header/URL), timestamp, and any failures needing manual review.

Safeguards:
- Never touch 2FA/security emails, banking/insurance/healthcare, travel alerts, or receipts.
- Stop and ask if an email blends promotional + account content.
- Batch in sets of 10 and show me a running log after each batch.
- Always ask me to take over the browser for passwords/2FA or sensitive inputs.

Deliverables:
- CSV summary (sender, action, method, date/time).
- “Do-Not-Touch” list you infer from my approvals, to persist for future runs.

5.01 review

Instructions

Step-by-Step: Running It Start in Chat mode with the prompt above → get the IDENTIFY table....

About the author

Co-founder of Prompt Magic and ThinkingDeeply.ai Career Chief Marketing Officer

Join Thousands of AI Enthusiasts

Discover Thousands of AI Prompts
Completely Free

Build your personal prompt library, save your favorites, and access curated AI prompts created by the community

Thousands of Prompts

Access a vast library of high-quality AI prompts for every use case

Build Your Library

Save prompts to your personal library and organize them your way

Always Free

Get started with full access to our core features at no cost

No credit card required • Free forever • Join 10,000+ users