| name | compose-email-summary |
| description | Generate the punchy Sunday-morning email body from the week's insights, send via Resend with a link to the full Google Doc. The thing you'll actually read. |
compose-email-summary
Reads insights.json and doc-url.txt for the week. Generates a tight email and sends it via Resend.
How to invoke
python .claude/skills/compose-email-summary/scripts/send.py [--week 2026-W18] [--dry-run]
--dry-run prints the email instead of sending.
Email shape
Subject: Site report — Week {n} — {one-line headline}
The headline:
• {top-line metric WoW}
• {audience metric WoW}
• {n} critical issue(s)
This week, ship these three:
1. {top action}
2. {second action}
3. {third action}
Full report: {google_doc_url}
— Sunday digest
The body is generated by Claude from the insights JSON. Tight prompt: ≤200 words total, no marketing fluff, named pages and numbers.
Inputs
RESEND_API_KEY
REPORT_TO_EMAIL, REPORT_FROM_EMAIL
insights.json and doc-url.txt for the week
Output
- Email sent
reports/{week}/summary.md persisted to snapshot store
Notes
- Plain text only for v1. HTML adds rendering surface area for no real benefit on a personal email.
- Subject line carries weight — it determines whether you open the email at all. Spend tokens here.