Resend vs Postmark
Resend vs Postmark: a short verdict, field support, the fields only one provider supports, and how to run both from one Node.js client.
Short answer: Pick Postmark for transactional mail on its own message stream, 45 days of message history and per-message metadata. Pick Resend for a modern API with React Email templates, scheduled sending and native idempotency keys: a retry that reuses the same key within 24 hours doesn’t send twice. Email SDK’s field checks pass a Resend-to-Postmark fallback for messages with no sendAt and at most one tag (Postmark accepts one), and Postmark-to-Resend for messages without metadata or repeated header names. Falling back when delivery is unknown also needs onUnknownDelivery: “continue”, which can send a duplicate.
In Email SDK’s message model, Resend and Postmark both support CC, BCC, reply-to, custom headers, attachments and tags, though only Postmark accepts a header name repeated. The differences sit in a few fields. Resend takes sendAt for scheduled sending and more than one tag, and the Resend adapter passes your idempotency key as Resend’s Idempotency-Key header. Postmark takes per-message metadata but only one tag, and its adapter has no sendAt. So pick Resend when you schedule sends or tag messages in several dimensions, and Postmark when you attach metadata to each message. When both are on the same fallback route, every message has to fit both providers, and the client checks that before the first call. Fallback is decided only after the first provider’s retries finish; Fall back from Resend to Postmark covers the setup and when a failed send moves to the backup.
Message field support
Field support as encoded in Email SDK’s own adapter capability matrix, the same data the SDK uses to reject sends that would silently drop fields.
| Message field | Resend | Postmark |
|---|---|---|
| CC recipients | ✓ | ✓ |
| BCC recipients | ✓ | ✓ |
| Reply-To address | ✓ | ✓ |
| Custom headers | ✓ | ✓ |
| Attachments | ✓ | ✓ |
| Tags | ✓ | ✓ |
| Metadata | — | ✓ |
| Scheduled sending (sendAt) | ✓ | — |
Fallback compatibility
Failing over from Resend to Postmark loses: Scheduled sending (sendAt). Email SDK rejects the fallback send for messages that use these fields instead of dropping them silently.
Failing over from Postmark to Resend loses: Metadata.
Same code, either provider
With Email SDK the send call is identical for both providers. Only the adapter import changes:
import { createEmailClient } from "@opencoredev/email-sdk";
import { resend } from "@opencoredev/email-sdk/resend";
const client = createEmailClient({
adapters: [resend({ apiKey: process.env.RESEND_API_KEY! })],
});
await client.send({
from: "hello@yourdomain.com",
to: "user@example.com",
subject: "Welcome!",
html: "<p>It works.</p>",
});
Or run both, with automatic fallback:
import { createEmailClient } from "@opencoredev/email-sdk";
import { resend } from "@opencoredev/email-sdk/resend";
import { postmark } from "@opencoredev/email-sdk/postmark";
const client = createEmailClient({
adapters: [
resend({ apiKey: process.env.RESEND_API_KEY! }),
postmark({ serverToken: process.env.POSTMARK_SERVER_TOKEN! }),
],
defaultAdapter: "resend",
fallback: { adapters: ["postmark"] },
});
FAQ
Should I use Resend or Postmark?
Pick Postmark for transactional mail on its own message stream, 45 days of message history and per-message metadata. Pick Resend for a modern API with React Email templates, scheduled sending and native idempotency keys: a retry that reuses the same key within 24 hours doesn’t send twice. Email SDK’s field checks pass a Resend-to-Postmark fallback for messages with no sendAt and at most one tag (Postmark accepts one), and Postmark-to-Resend for messages without metadata or repeated header names. Falling back when delivery is unknown also needs onUnknownDelivery: “continue”, which can send a duplicate.
Can I switch from Resend to Postmark without rewriting my email code?
Yes. With Email SDK both providers share one typed send() call and one message shape, so switching from Resend to Postmark is a one-line adapter change plus an API key. The SDK fails fast if a message uses a field Postmark does not support, so nothing is silently dropped.
Which message fields does Resend support that Postmark doesn’t?
Resend supports Scheduled sending (sendAt) in the unified message shape, which Postmark does not.
Can I use Postmark as a fallback for Resend?
Partially. Email SDK checks field support before every send: a fallback is rejected from Resend to Postmark for messages using Scheduled sending (sendAt), and from Postmark to Resend for messages using Metadata, repeated header names. Messages that avoid those pass the field checks. A failed send still falls back only when the SDK knows the first provider didn’t send it, unless you set onUnknownDelivery: “continue”. Adapter limits also apply. Postmark: Accepts one tag and flattens one name:value tag for the provider payload.
Adapter docs
Setup guides: Resend adapter and Postmark adapter. Sending from your own domain? Verify SPF, DKIM, and DMARC with the free email DNS checker.
Calling the API directly? Read the Resend API guide for Node.js and TypeScript.
Choosing a plan? Read the Resend pricing guide.
Connecting over SMTP? Read the Resend SMTP guide.
Moving off Resend? Read the Resend alternatives guide.
Moving off Postmark? Read the Postmark alternatives guide.