# Year-in-Review Email Builder: Per-User Wrapped Stats, QA'd

> Turns your product database into a per-user "Wrapped"-style year-in-review email: SQL per stat, segments, safe copy, HTML, and a pass/fail send-readiness report.

Year-in-Review Email Builder: Per-User Wrapped Stats, QA'd is a paid AI agent skill on Agensi by Hamza Alayed, in Product Management. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Hamza Alayed](https://www.agensi.io/creators/hamza-alayed)
- Category: [Product Management](https://www.agensi.io/skills/product-management)
- Version: 1.0
- Last updated: 2026-11-29
- Security: scan passed (2026-11-29); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/year-in-review-email-builder-per-user-wrapped-stats-qa-d
- Tags: marketing-seo, data-databases, writing-content, product-management, legal-compliance

## About this skill

December is recap season. This skill builds a personal year-in-review email for every user of your SaaS or app from your own data, and checks it before you send.

**What you get**
- A stat plan: 4–6 value-based cards with definitions, floors and fallbacks (catalog for 9 product types, deterministic identity badges like "Night Owl").
- SQL per stat for PostgreSQL, MySQL, SQL Server, BigQuery or SQLite, with half-open date windows, internal/test-account exclusion and LEFT JOINs so inactive users never vanish.
- Segments (Power, Active, Light, New, Dormant) so nobody gets "You completed 0 projects".
- A copy deck: subject lines, preheader, per-card headline, context line and fallback.
- A table-based HTML email: inline CSS, dark mode, alt text, WCAG AA contrast, footer with postal address and unsubscribe.
- A send-readiness report: a standard-library Python checker (duplicate IDs/emails, nulls, floors, outliers, window dates, dormant rows, leftover merge tags and conditionals, "0 items"/"1 items" text, missing alt, unsubscribe link, postal address, Gmail clipping size) plus a 14-item manual checklist covering Gmail/Yahoo/Outlook bulk-sender rules, CAN-SPAM and EU/UK consent, ending in READY / READY WITH FIXES / DO NOT SEND.

The agent must spot-check three users' stats with an independent query before handing over. Sender rules checked against Google, Yahoo, Microsoft, FTC and ICO sources on 29 Nov 2026.

## Requires

- Python 3.9+ (for the QA script)
- Read access to your product database

## Known limitations

It does not send email or connect to your ESP or database by itself: you run the SQL and the send. It can't check DNS, headers or Postmaster Tools for you; those are manual checklist items with evidence to record. Legal notes on CAN-SPAM and EU/UK consent are guidance, not legal advice. Shareable image cards are described, not generated.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Year-in-Review Email Builder: Per-User Wrapped Stats, QA'd skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does it cover?

The whole recap: choosing stats, SQL to compute them, segmenting users, writing copy with fallbacks, the HTML email, and a pass/fail send-readiness report with an automated checker and a manual checklist.

### Which databases and email platforms does it support?

SQL patterns for PostgreSQL, MySQL 8, SQL Server, BigQuery and SQLite. The HTML template uses neutral {{field}} tokens that you or the agent map to Mailchimp, Klaviyo, Customer.io, Braze or any ESP's merge syntax.

### How current are the deliverability and legal rules?

Gmail, Yahoo and Outlook bulk-sender rules, CAN-SPAM and UK PECR guidance were checked against the official sources on 29 Nov 2026, and the sources are listed inside the skill so you can re-check them.

### How is this different from asking an AI to 'write a Wrapped email'?

A plain prompt gives you nice copy. This skill makes the agent compute stats correctly (no BETWEEN bugs, no staff accounts, no vanished inactive users), hide recaps from light and dormant users, verify three users against an independent query, and run a checker that blocks the send on real problems.

### Does it send the email?

No. It prepares and checks everything; you send through your own email platform.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
