- You design an email in Paper.
- Your agent reads the design through the Paper MCP server.
- Your agent converts the design into email-safe HTML using the Resend MCP server and agent skills.
- Your agent creates a Template or Broadcast in Resend
Prerequisites
Before you start, make sure you have:- The Paper Desktop app installed with a file open (opening a file starts the Paper MCP server automatically)
- A Resend API key
- A verified domain
- An MCP client like Claude Code, Cursor, or Claude Desktop
See a full example for a complete end-to-end
prompt.
1. Connect the Paper MCP server
Paper Desktop runs a local MCP server athttp://127.0.0.1:29979/mcp whenever a file is open.
- Claude Code
- Codex
- Cursor
- Claude Desktop
Install the official Paper plugin (recommended):Or add the MCP server directly:
2. Connect the Resend MCP server
- Claude Code
- Codex
- Cursor
- Claude Desktop
3. Design your email in Paper
Design your email as an artboard in Paper. A few tips for designs that translate well to email:- Use a single-column layout around 600px wide.
- Use real copy instead of placeholder text.
- Use web-safe fonts like
System Sans-SeriforSystem Serif. - Use PNG or JPG images instead of SVGs (not supported in email).
4. Ask your agent to create an email
You can create either a Template or a Broadcast.Create a Template
Select an artboard in Paper and with both servers connected, prompt your agent with the following:- Call Paper’s
get_selectionandget_screenshotto see the design. - Call Paper’s
get_jsxorget_computed_stylesto read the exact layout, colors, and copy. - Convert the output into email-safe HTML.
- Call Resend’s
create-templatewith the HTML, name, and subject. - Call Resend’s
publish-templateto make it available for sending.
{{{USERNAME}}}. Once published, you can send the template via the Emails API or the dashboard.
Create a Broadcast
To go from design to a campaign instead:create-broadcast with the HTML, sender, subject, and segment. You can review the draft in the Resend dashboard before sending it yourself.
Before you can send a Broadcast, you must define which
Segment should receive it. If you don’t
have one yet, your agent can create one.
5. Refine in the visual editor
Templates and Broadcasts created by your agent are editable in the Resend dashboard. If you want your agent’s content to be fully editable in the visual editor, ask it to usecompose-template or compose-broadcast instead of raw HTML. You’ll see the agent appear as a named avatar in the editor while it works, and you can hand-tune the result afterwards.

Example: end-to-end prompt
Troubleshooting
- Agent can’t reach Paper: make sure Paper Desktop is running with a file open, then restart your agent session.
- Design looks different in the email: email clients don’t support modern CSS. Ensure you’ve installed the Resend’s agent skills. Then ask the agent to use table-based layout and inline styles, and to flag anything (like custom fonts or complex gradients) that won’t survive the conversion.
create-broadcastfails: check that thefromaddress uses a verified domain and that the segment exists.