All workflows
Win a second open with a subject-line resend
Resend a campaign to the people who never opened it, with a subject line they have not seen.
Updated Sep 27, 2026Available asMCPCLIAPI
resend-to-unopened.md
Win a second open with a subject-line resend
Set up the tools below, then run the steps in order for the user.
Inputs
Ask the user for these before you start.
send_id: the Brew send to follow upemail_id: the email it sentoriginal_subject: its subject linewait_days: how long to wait after the first send, e.g. 3
Set up
Brew (tool:brew/create-audience-from-events, tool:brew/send-email)
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" } } }
- Create an audience from email events: call the MCP tool
create_audience_from_events - Send an email: call the MCP tool
send_email
CLI (official)
Install the command, then confirm it runs.
brew install getbrew/tap/brew-cli
brew-cli --version
- Create an audience from email events: run
brew-cli audiences from-events - Send an email: run
brew-cli emails send
Set $BREW_API_KEY in your environment first (get a key: https://brew.new/settings/api).
Create a message (Anthropic, tool:anthropic/create-message)
Use the first option your agent supports.
CLI (official)
Install the command, then confirm it runs.
curl -fsSL https://claude.ai/install.sh | bash
claude --version
Run claude -p.
API (official)
- Base URL: https://api.anthropic.com
- Endpoint:
POST /v1/messages - Auth: send the header
x-api-key: $ANTHROPIC_API_KEY - Get a key: https://platform.claude.com/settings/keys
Make one read-only call to each tool to confirm access.
Steps
- Segment with Create an audience from email events (Brew). Build an audience of the contacts in
send_idwho have not opened afterwait_days, and wait until it has built. - Rewrite with Create a message (Anthropic). Write two alternatives to
original_subjectthat make a different promise. Show them to the user. - Resend with Send an email (Brew). Send
email_idwith the chosen subject line to that audience, after the user approves.
Done when
- Only unopened contacts received the resend.
- The user has the number of contacts it went to.
Rules
- Only use the tools listed above.
- Ask the user before anything that sends messages, costs money, or changes data.
- Never print API keys.
Built from these files in the repository
- workflows/resend-to-unopened.md
- companies/brew/tools/create-audience-from-events.md
- companies/brew/company.md
- companies/anthropic/tools/create-message.md
- companies/anthropic/company.md
- companies/brew/tools/send-email.md
The layout and the rules come from lib/catalog/render-markdown.ts, the set-up wording from lib/catalog/render-access.ts.
