AI email editor
An AI email builder: write, rewrite and check before it goes out.
Describe an email or point at a public page, and the assistant drafts the subject, the preview text and the blocks in your email builder, where you can change anything by hand. Select some blocks to rewrite them, or have it review a finished email for problems. None of the three sends anything, and the model never writes HTML.
On every plan, with a daily number of AI calls that grows with the plan.
import { BillionSend } from "@billionsend/node";const bs = new BillionSend();const { data } = await bs.templates.ai.draft({ prompt: "Announce our November update", url: "https://example.com/changelog/november",});// data.subject, data.html, data.textcurl -X POST https://api.billionsend.com/templates/ai/draft \ -H "Authorization: Bearer $BILLIONSEND_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "prompt": "Announce our November update", "url": "https://example.com/changelog/november" }'// 200 { "subject": "...", "preview_text": "...", "html": "...", "usage": { ... } }
- 5AI calls a day on Free
- 50AI calls a day on Starter
- 200AI calls a day on Pro
- 500AI calls a day on Scale
How it works
Three things the email builder does, none of them sends.
Each is one request to the model.
- 01
Write
Give an instruction, a public page such as a blog post or changelog entry, or both. It takes the facts, the voice and the button color from the page and writes the subject, preview text and blocks.
- 02
Rewrite
Select blocks in the editor and pick shorter, friendlier, more formal, fix spelling and grammar or translate, or write your own instruction.
- 03
Review
A finished email is read for placeholder text, empty links, missing alt text, spam-like wording and a subject that does not fit the body, and the problems come back most serious first.
Where to use it
The same three in the AI email editor, the API and MCP.
The API and MCP calls create nothing: pass the HTML to POST /templates.
| Surface | What it offers | Needs |
|---|---|---|
| Dashboard editor | Write, rewrite and review, from the AI button in the email builder, on a template or a broadcast. | Any team member |
| POST /templates/ai/draft | Draft a full 600 px email with inline styles, merge fields and a plain-text version. | A full-access API key |
| POST /templates/ai/review | Findings with a level, where, a message, an excerpt and a suggestion. | A full-access API key |
| MCP tools | draft_template_with_ai and review_email_with_ai, with their own scopes. | templates:write, templates:read |
In your code
Read the result, then decide.
A draft is data. Nothing is saved until you save it.
- okThe review's ai field says the model read the email as well as the fixed checks.
- cappedThe day's AI calls are spent. A review still returns the fixed findings; a draft answers 429 ai_editor_daily_cap.
- unavailableThe model could not be reached. Only the fixed checks ran, and the call costs nothing.
- errorA review finding that should be fixed before the email goes out, such as placeholder text or an empty link.
{ "ai": "ok", "findings": [ { "code": "placeholder_text", "level": "error", "where": "body", "message": "This looks like leftover placeholder text (a bracketed placeholder).", "excerpt": "Hi [NAME],", "suggestion": "Use a merge field or the real name." } ]}Where it fits
Use the email builder where the blank page is the slow part.
- 01
Product updates
Paste the changelog address and get a draft in your own accent color.
- 02
Quick edits
Tighten a paragraph, change the tone or translate a selection without leaving the email builder.
- 03
Pre-send checks
Catch a leftover placeholder or a link that goes somewhere else before a broadcast does.
- 04
Agents
Let an agent draft a template and review it over MCP, then leave sending to a person or a rule.
Before you ship
Plan for limits and safety.
LimitsA daily count of calls
Each request that reaches the model counts once for the team per UTC day. A request that fails before the model, or where the model's answer could not be used, costs nothing.
SafetyText is data
Everything the model reads, your email and the page alike, is treated as data. Instructions written inside it are ignored, and a link, image or merge field the model was not allowed to use is dropped.
PagesRead once, over https
A page is fetched once as static HTML, with no scripts run, and a page on a private address is refused.
ScopeRewrite lives in the editor
Rewriting is only in the dashboard; an agent already has the whole email in front of it.
FAQ
Questions, answered.
Something missing? Ask us at support@billionsend.com.


