Recipe newsletter cleanup

From readdle/spark-claude-extension · View interactive version

Recipe newsletter cleanup is an AI agent skill from the GitHub repository readdle/spark-claude-extension. Audit newsletter subscriptions: block unwanted senders, unsubscribe from mailing lists, and enable AI summaries for worth-keeping ones.

How to use this skill

Skill file

Recipe: Newsletter Cleanup

Audit and prune newsletter subscriptions. Block the unwanted, unsubscribe from the noisy, and enable AI summaries for the ones worth keeping.

Prerequisite: Read the spark base skill for tool reference and filter syntax.

Access level required: triage.

Steps

Step 1: List all newsletters

emails { "folder": "Inbox", "filter": "category:newsletter" }

Review the senders. Look for patterns: senders the user never reads, duplicates, or obsolete subscriptions.

Step 2: Review individual newsletters

For each sender the user wants to evaluate:

thread { "message_id": "<id>" }

Step 3: Remove unwanted subscriptions

For mailing lists with an unsubscribe mechanism:

action { "action_name": "unsubscribe", "message_ids": ["<id>"] }

For senders that should be blocked entirely:

contact-action { "action_name": "blockContact", "emails": ["spammer@example.com"] }

To block an entire domain:

contact-action { "action_name": "blockDomain", "emails": ["example.com"] }

Step 4: Enable AI summaries for keepers

For newsletters the user wants to keep but not read in full:

contact-action { "action_name": "enableAutosummaryForContact", "emails": ["newsletter@example.com"] }

Step 5: Group repetitive senders

For senders that send frequently, group their emails to reduce inbox clutter:

contact-action { "action_name": "groupEmailsFromContact", "emails": ["sender@example.com"] }

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.