runbookify
← All plans
Marketing Operations / Compliance, Legal & Brand Approval

Email Pre-Send Compliance Check

A pre-send gate that scans every marketing email for the legal essentials - working unsubscribe link, valid mailing address, honest subject and from line, and a real consent basis - and blocks "cleared to send" until a human reviewer signs off.

BeginnerAn afternoonBuilds onNext.js (App Router) on VercelSupabase (Postgres, Auth, Storage, RLS)Resend (email notifications)
What you'll build

A private internal tool where your team submits an email, gets an instant compliance report, and a reviewer approves or returns it - so nothing legally risky ever goes out, with a full audit trail and a compliance-log CSV.

Gated download

Enter your email — the plan downloads instantly and a copy lands in your inbox.

By submitting your email you'll also receive the weekly runbookify newsletter. You can unsubscribe at any time.

The problem this kills

Every marketing email you send carries legal weight. CAN-SPAM (the US anti-spam law) and CASL (Canada's anti-spam law) require a working unsubscribe link, a real physical mailing address, an honest subject and "from" line, and - especially under CASL - proof that the audience actually agreed to hear from you. Miss one of these and you're looking at fines, deliverability damage, and a very uncomfortable conversation with legal.

Right now this check probably lives in someone's head, a stale PDF checklist, or a frantic last-minute Slack message before a campaign goes out. It's inconsistent, it's slow, and it depends on one person remembering every rule. The moment that person is on vacation, something non-compliant slips through.

This tool turns that tribal knowledge into a hard gate. An email cannot be marked "cleared to send" until the checks pass and a human reviewer signs off. No more hoping. No more "I think we're fine."

What you'll build

A small, private web app just for your marketing and compliance team. Someone pastes in an email - the HTML or text, the subject line, the "from" name and address, and which audience it's going to - and the tool instantly scans it against your compliance ruleset. It flags every problem in plain language: missing unsubscribe link, no physical address, a subject line that doesn't match the body, an audience with no recorded consent basis.

Then a reviewer reads the report and either approves the send or returns it for fixes. Only an approval flips the status to "cleared to send," and that decision - who, when, and on which version of the email - is recorded forever. You can export the whole compliance log to CSV any time legal or an auditor asks.

What's inside the Implementation Plan

The plan is a complete, copy-paste runbook you hand to an AI coding agent. It opens by interviewing you about your business - which regions you send to, what your unsubscribe and address conventions look like, how your consent ledger works, who the reviewers are - so the tool fits your compliance reality instead of a generic template. The agent reflects a short spec back to you and waits for your thumbs-up before building anything.

From there it walks you, step by step, through standing up the app, the database, login, the submission form, the compliance scanner, the reviewer approval gate, the audit trail, and the CSV export - each step ending with a ready-to-paste prompt. No coding knowledge required. You answer questions and paste prompts.

The governance it includes (this is the point)

  • Login so only your team can reach the tool.
  • Row-level security so each organization only ever sees its own emails and reviews.
  • A complete audit trail - every submission, scan, return, and approval is logged with who and when.
  • A hard human-in-the-loop approval gate - the AI drafts the compliance report, but a person must review and approve before anything is marked cleared to send.
  • Duplicate guards - the same email/campaign version can't be checked or approved twice, keyed on campaign + version.

Who it's for

Email and marketing operations people who are responsible for keeping every send legally compliant - and who'd sleep a lot better knowing a consistent gate stands between a risky draft and the send button. If you live in CAN-SPAM and CASL land and you're tired of being the human checklist, this is for you.

You've got this - paste the first prompt and let the agent interview you.

Gated download

Enter your email — the plan downloads instantly and a copy lands in your inbox.

By submitting your email you'll also receive the weekly runbookify newsletter. You can unsubscribe at any time.