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
A fan of plain cream-colored envelopes lying on top of each other in soft light

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.com for transactional and news.example.com for 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

RecordWhat it provesPractical note
SPFThe sending server is allowed to send for your domainOne SPF record per domain; the provider gives you the include: value
DKIMThe message was signed by your domain and not alteredPrefer 2048-bit keys; Google requires at least 1024-bit
DMARCTells receivers what to do when SPF/DKIM do not align with the From domainAlignment matters: the From domain must match the SPF or DKIM domain

Roll DMARC out in stages so you do not block your own mail:

  1. p=none with a reporting address (rua=). Collect reports for two to four weeks and find every system that sends as your domain.
  2. p=quarantine, optionally with pct= to start on a share of traffic.
  3. p=reject once 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.

ResendAzure Communication Services EmailAmazon SESTwilio SendGridPostmarkMailgun
InterfaceREST API, SMTPREST API, SDKs, SMTPAPI, SMTPAPI, SMTPAPI, SMTPAPI, SMTP
SDKsSeveral languages, Node firstJavaScript, .NET, Java, PythonAWS SDKs for all major languagesPython, JS, Ruby, Go, PHP, Java, C#Official librariesOfficial libraries
TemplatesHTML or React Email via a react fieldYour own HTMLStored SES templates or your own HTMLDynamic templatesServer-side templatesStored templates
WebhooksSigned (Svix), all events on all plansEvents through Azure Event GridEvents through SNS or EventBridgeEvent webhookWebhooksWebhooks
Inbound emailYesNot part of the email SDKYesInbound parseYes (higher plans)Inbound routes
Dedicated IPAdd-on on the top self-serve planNot verifiedYes, paid per IPHigher tiersHigher plans, for very high volumeHigher tiers
RegionsChoose a sending regionAzure data locationMany regions, including EUUS or EUVerifyUS or EU
Pricing modelFree tier, monthly plans by volumePay per email and per data transferredPay per 1,000 emails, no monthly minimum on the basic planTrial, then tiered plansFree developer tier, plans by volumeFree 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

SituationPick
Already on Azure, want Entra ID auth and one billAzure Communication Services
Already on AWS, cost-sensitive, high volumeAmazon SES
Small team, modern stack, templates in ReactResend
Password resets and receipts must land in the inboxPostmark
High volume, or transactional plus marketing in one placeSendGrid, 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.

python
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 id

Queue, 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):

js
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):

python
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

  1. Separate streams: pick a transactional subdomain and, if needed, a marketing one.
  2. Choose a provider using the table above and verify its current limits and pricing.
  3. Add SPF and DKIM; publish DMARC at p=none with reports.
  4. Build the provider-agnostic interface and a queue with retries and idempotency keys.
  5. Add webhooks with signature checks and write bounces and complaints to your suppression list.
  6. Localize templates and test with sandbox addresses.
  7. Ramp up volume gradually, then tighten DMARC to quarantine and reject.

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.

Keep reading

Have a process that should run on AI?

Describe one process as it runs today, and we'll show you which repetitive steps an AI application or agent could handle.