Published
Transactional Email Services Compared: Resend, Azure Communication Services, Amazon SES and More
Transactional email services compared: Resend, Azure Communication Services, Amazon SES, SendGrid, Postmark and Mailgun, plus SPF, DKIM, DMARC and setup.
- Written by
- Ali ÖzdurmuşFounder, Veni AI
- Reading time
- 10 min read

Password resets, invoices, order confirmations and alerts are email your product cannot afford to lose. Sending them from a mailbox with SMTP works in a prototype and fails quietly in production: throttling, spam folders, no delivery events. Transactional email services exist to fix that. This guide compares the main options, explains the deliverability basics that matter more than the provider you pick, and shows what to build on your side so you can switch providers later.
Transactional vs. Marketing Email
Transactional email is triggered by one user's action and expected by that user: a receipt, a reset link, a security alert. Marketing email goes to many recipients who opted in: newsletters, campaigns, announcements. Recipients complain about the second kind far more often, and complaints damage sender reputation.
Keep the two apart:
- Send each stream from its own subdomain, for example
mail.example.comfor transactional andnews.example.comfor marketing. Resend's documentation recommends sending from subdomains for this reason: it isolates reputation and lets you enable open and click tracking only on marketing mail. - Use separate API keys, and where the provider offers it, separate streams or products (Postmark calls them message streams).
- Keep promotional content out of transactional messages.
Deliverability Fundamentals
SPF, DKIM and DMARC
| Record | What it proves | Practical note |
|---|---|---|
| SPF | The sending server is allowed to send for your domain | One SPF record per domain; the provider gives you the include: value |
| DKIM | The message was signed by your domain and not altered | Prefer 2048-bit keys; Google requires at least 1024-bit |
| DMARC | Tells receivers what to do when SPF/DKIM do not align with the From domain | Alignment matters: the From domain must match the SPF or DKIM domain |
Roll DMARC out in stages so you do not block your own mail:
p=nonewith a reporting address (rua=). Collect reports for two to four weeks and find every system that sends as your domain.p=quarantine, optionally withpct=to start on a share of traffic.p=rejectonce the reports are clean.
_dmarc.example.com TXT "v=DMARC1; p=none; rua=mailto:dmarc@example.com"Gmail and Yahoo bulk-sender rules
Google's sender guidelines apply stricter rules to senders of 5,000 or more messages a day to Gmail accounts: SPF and DKIM plus DMARC, valid forward and reverse DNS, TLS, and a spam rate in Postmaster Tools below 0.30% (stay under 0.10%). Marketing and subscription mail must support one-click unsubscribe with both the List-Unsubscribe and List-Unsubscribe-Post headers and a visible unsubscribe link. Yahoo published similar requirements. Even below the threshold, treat these as your baseline.
IPs, warm-up and list hygiene
- Shared IPs suit most senders. Dedicated IPs make sense at steady high volume and need a warm-up: Azure's documentation recommends growing volume over two to four weeks.
- Stop sending to hard-bounced addresses immediately and treat every complaint as an unsubscribe.
- Keep your own suppression list in your database, so a provider change never re-mails dead addresses.
The Providers Compared
All six are mature. Pricing changes often, so the model matters more than the numbers; figures below are from each vendor's public pages at the time of writing (November 2026), and you should check them before you decide.
| Resend | Azure Communication Services Email | Amazon SES | Twilio SendGrid | Postmark | Mailgun | |
|---|---|---|---|---|---|---|
| Interface | REST API, SMTP | REST API, SDKs, SMTP | API, SMTP | API, SMTP | API, SMTP | API, SMTP |
| SDKs | Several languages, Node first | JavaScript, .NET, Java, Python | AWS SDKs for all major languages | Python, JS, Ruby, Go, PHP, Java, C# | Official libraries | Official libraries |
| Templates | HTML or React Email via a react field | Your own HTML | Stored SES templates or your own HTML | Dynamic templates | Server-side templates | Stored templates |
| Webhooks | Signed (Svix), all events on all plans | Events through Azure Event Grid | Events through SNS or EventBridge | Event webhook | Webhooks | Webhooks |
| Inbound email | Yes | Not part of the email SDK | Yes | Inbound parse | Yes (higher plans) | Inbound routes |
| Dedicated IP | Add-on on the top self-serve plan | Not verified | Yes, paid per IP | Higher tiers | Higher plans, for very high volume | Higher tiers |
| Regions | Choose a sending region | Azure data location | Many regions, including EU | US or EU | Verify | US or EU |
| Pricing model | Free tier, monthly plans by volume | Pay per email and per data transferred | Pay per 1,000 emails, no monthly minimum on the basic plan | Trial, then tiered plans | Free developer tier, plans by volume | Free daily tier, plans by volume |
At the time of writing, Resend's free tier allows 3,000 emails a month (100 a day) with paid plans from 20 USD a month; Postmark offers 100 free emails a month and paid plans from 15 USD for 10,000; Mailgun's free plan allows 100 emails a day; SendGrid offers a 60-day trial. Amazon SES is the cheapest at scale, priced in cents per thousand emails. Azure bills per email and per MB, so use its pricing calculator.
Notable strengths
- Resend: developer experience, React Email, signed webhooks, an idempotency key header.
- Azure Communication Services: fits Azure estates with Microsoft Entra ID authentication (no stored secret with a managed identity) and Event Grid events. New resources start with low limits (30 emails a minute and 100 an hour per subscription on custom domains) that you raise by quota request.
- Amazon SES: low cost and deep AWS integration. It starts in a sandbox you leave by request.
- Postmark: deliverability focus, with separate transactional and broadcast streams.
- SendGrid, Mailgun (and Brevo): broad features for high volume and mixed transactional and marketing use.
Why Microsoft 365 or Google Workspace SMTP is usually wrong
Exchange Online limits each mailbox to 10,000 recipients a day and 30 messages a minute, and Microsoft says it is not suited to bulk mailing. There are no webhooks, no bounce API and no stream separation, and one overloaded app can hurt your staff's mail reputation.
Choosing by Situation
| Situation | Pick |
|---|---|
| Already on Azure, want Entra ID auth and one bill | Azure Communication Services |
| Already on AWS, cost-sensitive, high volume | Amazon SES |
| Small team, modern stack, templates in React | Resend |
| Password resets and receipts must land in the inbox | Postmark |
| High volume, or transactional plus marketing in one place | SendGrid, Mailgun or Brevo |
For KVKK and GDPR, check where message content, recipient addresses and logs are stored, and pick an EU region where the provider offers one. The provider is a data processor: sign its data processing agreement and list it in your register.
Implementation Essentials
A provider-agnostic interface
Your product code should call send_email(message), never a provider SDK. Behind it sit adapters for each provider.
from typing import Protocol
class EmailSender(Protocol):
def send(self, *, to: str, subject: str, html: str, text: str,
idempotency_key: str) -> str: ... # returns provider message idQueue, retries and idempotency
Never send inside the request that triggered it. Write a job to a queue, and let a worker send with exponential backoff. Retry on timeouts and 429/5xx responses, not on validation errors. Use a stable idempotency key such as welcome-user/123 so a retry cannot send twice; Resend, for example, accepts an Idempotency-Key for 24 hours. Providers without one need your own "already sent" table.
Webhooks
Subscribe to delivered, bounced, complained and failed events and write them to your suppression list. Verify the signature on every request using the raw body; Resend webhooks are signed with Svix headers and the SDK has a webhooks.verify helper. Make handlers idempotent, because events can arrive twice or out of order. A small service in FastAPI is a good fit for this.
Templates and localization
Keep strings in locale files. Render one template per language from a message key plus variables, and always send a plain-text part. Test long German and Turkish strings.
Logging and testing
Log message id, template key, status and timestamps, not full bodies or full addresses (mask or hash them, and set a retention period). Use a fake adapter in unit tests and provider test addresses for integration tests (Resend documents delivered@resend.dev).
Switching providers without downtime
Add the new provider as a second adapter, publish both providers' SPF and DKIM records, ramp traffic up in steps and watch bounce, complaint and DMARC reports. Retire the old records only when the numbers stay flat.
Code Examples
Resend with Node (the API key comes from the environment, and onboarding@resend.dev is for testing only):
import { Resend } from 'resend';
const resend = new Resend(process.env.RESEND_API_KEY);
const { data, error } = await resend.emails.send(
{
from: 'Acme <billing@mail.example.com>',
to: ['customer@example.com'],
subject: 'Your invoice',
html: '<p>Your invoice is attached to your account.</p>',
},
{ idempotencyKey: 'invoice-sent/INV-1001' }
);
if (error) console.error(error);Azure Communication Services with Python and Microsoft Entra ID (azure-communication-email and azure-identity):
from azure.communication.email import EmailClient
from azure.identity import DefaultAzureCredential
client = EmailClient("https://<resource-name>.communication.azure.com",
DefaultAzureCredential())
message = {
"senderAddress": "donotreply@mail.example.com",
"recipients": {"to": [{"address": "customer@example.com"}]},
"content": {
"subject": "Your invoice",
"plainText": "Your invoice is available in your account.",
"html": "<p>Your invoice is available in your account.</p>",
},
}
poller = client.begin_send(message)
result = poller.result()begin_send returns a poller, so check the final status instead of assuming success.
FAQ
What is the best transactional email service? There is no single winner: choose by your cloud (Azure or AWS), your team and your volume.
Can I send app email from Microsoft 365 SMTP? For a few internal alerts, yes. Beyond that, mailbox limits and missing delivery events make a dedicated service safer.
Do I need a dedicated IP? Usually not. Consider one at steady high volume, with a warm-up plan.
Quick Start
- Separate streams: pick a transactional subdomain and, if needed, a marketing one.
- Choose a provider using the table above and verify its current limits and pricing.
- Add SPF and DKIM; publish DMARC at
p=nonewith reports. - Build the provider-agnostic interface and a queue with retries and idempotency keys.
- Add webhooks with signature checks and write bounces and complaints to your suppression list.
- Localize templates and test with sandbox addresses.
- Ramp up volume gradually, then tighten DMARC to
quarantineandreject.
Summary
Transactional email works when the pieces around the provider are right: separate streams, authenticated domains, a queue, event handling and a suppression list. The provider itself is replaceable if you keep an interface in between.
Veni AI builds reliable email, notification and workflow integrations inside custom applications. See custom AI apps, data integration or talk to us.


