Email content approval checker for marketing drafts
Build a private, self-service compliance checker for marketing email drafts, so the team can catch mistakes before an email is sent rather than after. Marketing emails often ship with avoidable errors — subject lines that are too long, inconsistent style, spam-trigger phrasing that hurts deliverability, broken or insecure links, visible link text that doesn't match its destination, or missing campaign tracking tags — and once sent, none of it is fixable. This tool gives whoever writes the email an instant, consistent quality check. Trigger it with a private web page (space-authenticated, so only team members can use it). A user pastes a draft's URL or ID and submits it. At a high level the workflow should: Present a simple submission page and render the resulting report back to the user. Retrieve the email draft from the marketing platform — HubSpot Marketing Email API, or your team's email/marketing tool — using a connector, strictly read-only. It must never edit, schedule, publish, or send the email. Apply deterministic content and link rules: subject/preheader length, dates and timezones, brand style and punctuation, spam phrases, sender domains, and per-link checks (reachability, HTTPS, whether displayed text matches the destination, and campaign tracking tags). Ask an AI model — Claude via Anthropic, or your preferred LLM — for focused clarity and conciseness suggestions. Produce a scored compliance report where approval requires a clean pass. Re-render the draft in a headless browser and return an annotated screenshot with each finding numbered in place, so fixes are obvious. Offer it as a download from the report. Keep all routes private to the space. Aim for a strong, usable first version rather than an exhaustive rules engine. Tools used: HubSpot, Anthropic, 3B
What this prompt builds
A compliance checker for marketing email drafts that catches avoidable mistakes before send — subject line length, style inconsistencies, spam phrases, broken or insecure links, mismatched link text, and missing UTM tracking. It scores each draft against deterministic rules and AI-driven clarity suggestions, then renders an annotated screenshot with findings numbered in place. Approval requires a clean score of 100, and the workflow is read-only by design — it never edits, schedules, or sends emails.
The problem
Marketing emails often ship with avoidable mistakes — subject lines that are too long, inconsistent sentence case or brand style, spam-trigger phrases that hurt deliverability, broken or non-HTTPS links, visible link text that doesn't match its destination, or missing UTM tracking that breaks campaign attribution. Once an email is sent, none of it is fixable, and manual proofreading is slow and inconsistent across reviewers. This workflow gives teams an instant, consistent quality check before hitting send. It retrieves the draft from HubSpot, applies deterministic rules for length, style, dates, spam phrases, sender domains, and link integrity, then layers on AI-driven clarity and conciseness suggestions. A scored compliance report requires a clean pass of 100 for approval, and an annotated screenshot renders each finding numbered directly on the draft so fixes are obvious instead of abstract.
Solution and impact
Teams catch and fix email mistakes before launch, ensuring every campaign goes out on-brand, deliverable, trackable, and professional. The deterministic rules engine and AI layer deliver consistent quality checks that don't vary by reviewer or rush, and the annotated screenshot makes every fix immediately obvious. By requiring a clean score of 100 and operating read-only against HubSpot — never editing, scheduling, or sending — the workflow prevents 'good enough' from slipping through while keeping campaigns safe by design.
