by Brew
Generate an email
Generates an on-brand email design from a prompt; a ready result identifies the design and version, while a generating result needs polling.
Updated Oct 11, 2026
generate-email.md
Generate an email
Generates an on-brand email design from a prompt; a ready result identifies the design and version, while a generating result needs polling.
Note: Costs credits and requires a ready brand. If generating, poll get_email. Keep emailId and emailVersionId; pass both to a send or automation to pin the design.
Set up
Use the first option your agent supports.
MCP (official, remote)
Add this server to your agent's MCP settings, then sign in when asked.
{ "mcpServers": { "brew": { "url": "https://brew.new/api/mcp" } } }
Call the MCP tool create_email.
Server URL: https://brew.new/api/mcp
CLI (official)
Install the command, then confirm it runs.
brew install getbrew/tap/brew-cli
brew-cli --version
Run brew-cli emails generate.
Set $BREW_API_KEY in your environment first (get a key: https://brew.new/settings/api).
API (official)
- Base URL: https://brew.new/api
- Endpoint:
POST /v1/emails - Auth: send the header
Authorization: Bearer $BREW_API_KEY - Get a key: https://brew.new/settings/api
- Docs: https://docs.brew.new/api-reference/api/api-introduction
Before anything else, confirm access with the cheapest read-only call, like a list or a search. Never send or change anything to test access.
Rules
- Ask the user before anything that sends messages, costs money, or changes data, and say how many records it touches. One approval covers a batch the user has seen.
- Never print API keys.
Ways in
Workflows using Generate an email
TContributed by thedogwiththedataonitFollow up on downloads with the section they needFinds recent downloads of your asset in HubSpot, queues each person the section that fits their role with Brew, and logs it in Notion.
F
H
B+1
TContributed by thedogwiththedataonitEmail webinar no-shows, attendees and engaged viewersSorts a Zoom webinar's registrants into no-shows, attendees and engaged viewers, tags them in HubSpot, and emails each group.
Z
B
H
PContributed by philsoerensenHow Brew books 20 demos per week with outboundRuns cold email and LinkedIn as one system, opens with finished work for each prospect, and steers every warm reply to one next step.
C
I
B+1
TContributed by thedogwiththedataonitEmail a trial offer to active free usersFinds opted-in free users in PostHog who reached your activation event, skips paying Stripe customers, and emails a trial offer with Brew.
P
S
B