Personal
30-minute political spam bot: filters, unsubscribe, morning sweep
Election season floods your inbox with campaign mail.
What hurt
Frank Sharp (@fwsharp) added a political spam blocker to his crew in about 30 minutes: it scanned a month of email, built filters, unsubscribed him from junk, and now sweeps the inbox every morning. (Related public template also shared by @SawyerMerritt.) Not affiliated with xAI.
What to install or create
Scan a month → build filters + unsubscribe → morning sweep routine.
Bots
Political spam blocker
Filters campaign junk and morning-sweeps the inbox.
Plugins
Gmail
Required
Routines
Morning political spam sweep. Every morning. Sweep inbox for campaign/election spam using the approved filters.
The prompt
This is a tip, not a pasteable system prompt. The author did not publish one. Follow the first-run steps.
First run
- 1Read https://x.com/fwsharp/status/2112308869083107473 (credit @fwsharp).
- 2Connect Gmail; ask the bot to scan ~30 days for political/election spam.
- 3Approve the filters and the unsubscribe list it proposes.
- 4Add a morning routine that sweeps matching junk.
- 5Spot-check one week so real mail is not caught.
Approval fence
Review unsubscribes and filters before they run on their own.
What to tweak
Steal the sequence: historical scan first, then a daily sweep—not only one-off deletes.
Source
Frank Sharp @fwsharp · Original post
Not affiliated with xAI. We did not write this prompt. Third-party template terms still apply.
Pro pack
Want the full setup, not just the idea?
Pro packs give you the job text, prompts, schedules and pitfalls for popular use-cases.