Email Operations System

A multi-agent AI pipeline built to replace manual email production across 10 client accounts. 100+ email drafts per month. Average time from brief to draft in Gmail: under 4 minutes.

What was built

Incoming campaign briefs arrive as Gmail threads, tagged by client. n8n reads the labeled thread and loads the relevant brand context from a structured JSON store. That context includes tone rules, approved claims, product list, and recent send history. The context and brief go into a Claude API call. Claude drafts the email. The draft lands in Gmail, labeled by client, flagged for review. Nothing reaches Klaviyo until a human approves it.

The multi-agent structure

  • Strategy agent: reads the brief, outputs structured hook, supporting points, and CTA direction. No prose.
  • Draft agent: takes that structure and writes the full email, with access to brand context and recent send history.
  • Review agent: checks output against brand rules, flags claim violations or off-tone language before the draft reaches Gmail.

Results

  • 100+ email drafts per month across 10 accounts
  • Under 4 minutes from brief to Gmail draft
  • 70% of drafts go to Klaviyo with minor edits only
  • Adding a new client does not add linear time overhead

Tech stack

Gmail API, n8n (self-hosted), Claude API, per-client JSON brand context files. No database, no custom frontend.