Introduction
Serverless email sequencing framework on AWS, managed entirely through Claude Code.
mailshot is a serverless email sequencing framework on AWS, designed so that a single person can create, deploy, manage, and query email sequences entirely through AI (Claude Code) at near-zero cost.
The core idea: describe what you want in natural language, and Claude Code handles the rest - generating sequence configs, rendering templates, deploying infrastructure, managing subscribers, and monitoring delivery. No dashboard, no SaaS fees. AI creates the structured flow, you review and deploy.
How it works
Your app backend
│
│ publishes events
▼
EventBridge ──→ Step Functions ──→ SendEmailFn ──→ SES
│
S3 (templates)
DynamoDB (state)- Your app publishes an event (e.g.,
customer.created) to EventBridge - An EventBridge rule starts a Step Functions state machine
- The state machine walks through send/wait/choice/condition steps
- Each send step invokes a Lambda that fetches a template from S3, renders it with LiquidJS, and sends via SES
- Bounces, complaints, opens, clicks, and deliveries are tracked automatically
Everything is defined in code, deployed with CDK, and managed through Claude Code.
Documentation
| Section | What it covers |
|---|---|
| Quickstart | Scaffold a project and deploy your first sequence |
| Architecture | System overview, AWS services, data flow, cost model |
| Sequences | Defining email sequences with send, wait, choice, and condition steps |
| Templates | Bring your own templates (React Email, Maizzle, HTML, anything), Liquid rendering, template lifecycle |
| Subscribers | Subscriber profiles, lifecycle states, suppression, unsubscribe |
| Events & Engagement | EventBridge ingestion, SES engagement tracking, analytics |
| DynamoDB Schema | Single-table design, key patterns, TTLs, GSIs |
| Deployment | Environment setup, build pipeline, CDK deploy workflow |
| MCP Server | AI-driven management - subscriber ops, engagement queries, template preview |
| Skills & Workflows | Claude Code skills for creating, validating, and deploying sequences |