New to integrations? The overview explains the import and export flows that are the same for every provider. This page covers what’s specific to Postmark.
What you need
- A Postmark account. The free Developer plan is enough — templates aren’t metered, and AlpacaRelay never sends through your account.
- A Server API token from the specific server whose templates you want to work with.
Get the server token
1
Pick or create a server
In Postmark, go to Servers. Templates belong to one server, so the token you choose decides which templates AlpacaRelay sees.Creating a new server for this? Tick Sandbox. A sandbox server accepts and reports messages normally but routes them nowhere, which makes it safe for the test-send button inside Postmark’s own template editor.
2
Open the API Tokens tab
Select your server, then open API Tokens.
3
Copy the server API token
Copy it. Unlike some providers, Postmark lets you return to this page later.
Connect Postmark
1
Open Connected apps
Go to Settings → Connected apps, then click Connect app.
2
Choose Postmark
A secure form opens, asking for your token.
3
Paste the server token
Submit it. AlpacaRelay verifies the token immediately by reading the server.
4
Check the badge
Postmark appears in your connected apps with a Connected badge and the name of the server you connected.
Export a design to Postmark
Save the email, then open Send to app from the editor’s name dropdown or the ⋯ menu on an email card, and click Create template on the Postmark row. The export creates a standard template on the connected server, which you’ll find under Templates. Re-sync updates that same template in place, so code sending by template alias or ID picks up the new design. Postmark limits each server to 100 templates. Exports fail once you hit it, so prune templates you no longer send.Import a template from Postmark
Click Import when creating an email, choose Postmark under Integrations, and pick a template. The picker lists the standard templates on the connected server. Postmark’s API exposes no thumbnails, so rows show names without previews.Layouts are listed separately from standard templates, not mixed in. A layout is a wrapper that other templates slot into rather than a complete email, so importing one gives you the frame without content.
{{name}}. They import as literal text — AlpacaRelay doesn’t interpret them. That’s expected, though see the export warning above before pushing such a design back.
Troubleshooting
Connecting failed immediately
Connecting failed immediately
Almost always an Account token instead of a Server token. Go to Servers → your server → API Tokens and copy from there, not from Account → API Tokens.
The import picker is empty
The import picker is empty
The connected server has no standard templates yet. Add one in Postmark — a starter template saved unedited is enough — or check whether your templates live on a different server.
Export fails while other providers work
Export fails while other providers work
Postmark’s template parser is rejecting the body. See the known limitation above.
Export started failing after a while
Export started failing after a while
You may have hit the 100-templates-per-server limit. Delete unused templates in Postmark and retry.
I need templates from a different server
I need templates from a different server
Disconnect Postmark, then connect again with that server’s token. Links to the old server’s templates won’t resolve — unlink them and create fresh templates.