Skip to main content
Connect your Postmark account to export email templates created in Brew directly to your Postmark server.
Moving your sending off Postmark instead? See Migrate from Postmark to Brew.
Postmark Integration

Connect

1

Open the Postmark integration in Brew

In Brew, go to Integrations and click the Postmark card.
2

Go to your server's API Tokens tab

In Postmark, click Servers, select the server you want to use, then go to the API Tokens tab.
3

Copy your Server API token

Copy the Server API token shown on the page. To get a new one, generate it on the same page.
4

Paste the token in Brew

Go back to Brew, paste the Server API token, and click Connect.
Postmark is now connected to Brew.

Export a Template

Once connected, you can export any email to Postmark:
  1. Open an email you’ve created in Brew
  2. Click Send
  3. Choose to export the template to Postmark
  4. Give it a name, check the subject line, and click Export

Where It Lands

The template appears in Postmark on your server’s Templates tab, ready to use for transactional or broadcast emails.
To find your template, go to Servers, click into your server, then click the Templates tab.

From an Agent or Code

From an agent, export_email over MCP exports a design to Postmark. From code, send POST /v1/emails/{emailId}/export with "provider": "postmark". Connect Postmark in the app first. Export is free. Pass dryRun: true to check the design and the connection without creating a template. A dry run doesn’t test whether Postmark accepts the template: only a real export does. The template takes the email’s title unless you pass templateName (up to 100 characters), and the response returns its templateId. If an export fails, the error says why:

Requirements

  • A Postmark account with at least one server
  • A Server API token

Need Help?

Our team is ready to support you at every step of your journey with Brew. Choose the option that works best for you:

Search Documentation

Type in the “Ask any question” search bar at the top left to instantly find relevant documentation pages.

Ask ChatGPT or Claude

Click here to open the Copy page menu at the top of this page, then send the page to ChatGPT, Claude, or your editor.