This automation pulls useful signals from recent newsletter emails and combines them into one concise digest. It is for people who want the takeaways without reading every newsletter.
- Looks back over a bounded recent Gmail window and discovers likely recurring newsletter senders.
- Reuses the automation memory file to remember confirmed newsletter senders, recurring non-newsletter senders, and compact sender notes from prior runs.
- Reads the current in-window issues from the detected senders instead of opportunistically sampling a noisy Gmail category.
- Extracts the main items, claims, entities, and links from each issue without trying to summarize the whole email thread universe.
- Clusters overlapping items into a short list of recurring themes.
- Merges repetitive coverage across newsletters and keeps the clearest, most evidence-backed source links.
- Produces one Markdown brief with both coverage accounting and high-signal items.
sequenceDiagram
participant Agent
participant Gmail as Gmail Scope
participant Links as Source Links
Agent->>Gmail: Read bounded newsletter slice
Gmail-->>Agent: In-scope messages and metadata
Agent->>Links: Optionally confirm highest-signal links
Links-->>Agent: Human-readable article context
Note over Agent: Read-only, no replies, labels, archive, or deletes
- Gmail access through a configured Google Workspace MCP server or the
gwsCLI
It can run with no extra configuration. It works best when you later narrow the scope with a label, sender set, or Gmail query that already isolates the newsletters you trust.
- Open Cursor Automations.
- Name your automation and paste gmail-newsletter-intel-brief.md as the automation prompt.
- Add Google Workspace access through a Workspace MCP server or the
gwsCLI. - Optionally customize the scope or audience notes near the top of the prompt.
- Allow memory so the automation can remember confirmed newsletter senders and recurring non-newsletter senders between runs.
- Set the schedule or run manually, then save the automation.
- Set up Gmail access in Codex using a Google Workspace MCP server or the
gwsCLI. - Click
Automation>New Automation. - Name your automation and paste gmail-newsletter-intel-brief.md as the automation prompt.
- Optionally customize the scope or audience notes near the top of the prompt.
- Let the automation reuse its persistent
memory.mdbetween runs for sender allow and ignore hints. - Set schedule or run manually and save the automation.
- Add a Google Workspace MCP server to Claude Code if you want MCP-backed runs, or make
gwsavailable in the runtime. - Make sure the runtime can read Gmail messages, message metadata, and links from the selected newsletter scope.
- Use the prompt as-is for the default behavior, or add a short override note before using
/loopor/schedule. For example:
Newsletter Gmail scope: label:newsletters newer_than:7d
Topic priorities: competitors, product launches, tooling, market moves
Audience: product and strategy leads
Output emphasis: keep only items that are new, repeated across sources, or materially actionable
- For durable Claude-managed automation outside the current session, use
/scheduleor create a Routine inclaude.ai/code/routines.
| Setting | Default |
|---|---|
| Discovery window | last 30 days |
| Brief window | last 7 days |
| Message scope | bounded Gmail discovery, then detected recurring newsletter senders |
| Sender discovery budget | up to 150 candidate messages |
| Full issue reads | up to 3 recent issues per detected sender, up to 60 total issue reads |
| Final theme count | up to 6 themes |
| Final item count | up to 12 items |
| Output | Markdown intelligence brief |
| Delivery mode | report-only |
Keep the run conservative: prefer recurring-sender detection over one-pass category sampling, use memory to reduce false positives, prefer deduplicated themes over sender-by-sender summaries, and narrow scope rather than expanding into the full inbox when discovery is noisy.
Add context only when you want tighter scope or a different audience, for example:
Newsletter Gmail scope: label:market-newsletters newer_than:7d
Topic priorities: competitors, product launches, tooling, market moves
Audience: founder and product leads
Output emphasis: prefer concrete launches, funding moves, pricing changes, and tooling announcements