Transactional email guides,
from setup to delivery.
Transactions, retries, authentication, and delivery evidence. Work through runnable examples, inspect the failure cases, and check the primary sources.
Start with what you need.
Browse all guides →Install and use Stampwing
Follow the product setup from your first Test request to Live readiness.
Get integration help
Find the exact contract, recover from errors, or give an AI assistant context.
Build your first email flow
Start with the request, then connect and test it.
Build an email feature
Run a local example, then connect the pattern to your app.
Find a missing message
Follow the evidence before changing the setup.
Run email across your apps
Give every event an owner and a recovery path.
All developer guides
25 guides · Practical answers, with examples
Connect your assistant with MCP
Connect Claude, Codex, or ChatGPT through MCP, with preview setup for Cursor and GitHub Copilot editors and CLIs. Choose access to templates, automations, and email.
Send your first Stampwing Test request
Choose the right setup path, create a project and Test key, submit one simulated email, and verify the saved message.
Install the app, database, and demo worker
A complete local source setup with prerequisites, environment values, PostgreSQL, migrations, the web app, workers, and recovery checks.
Install the SDK and connect your backend
Install the prebuilt TypeScript SDK, send with a verified Test key, connect a server module, and add templates and signed webhooks.
Verify your domain and prepare live sending
Prepare a sending domain, understand automatic account and provider setup, choose Live permissions, and verify real delivery evidence.
HTTP API reference for your first integration
Exact endpoint paths, single-recipient fields, permissions, idempotency rules, response semantics, templates, and feature boundaries.
Find the failed step and recover safely
Practical fixes for installation errors, missing keys, wrong environments, validation failures, limits, queued mail, DNS, and uncertain outcomes.
Give your AI assistant the right setup context
A copyable setup prompt, installation decision table, failure recovery rules, and evidence-based handoff for AI coding assistants.
Choose an email API with a practical evaluation worksheet
Compare email APIs using your application’s failure cases, project boundaries, delivery evidence, and total operating cost. Includes a repeatable evaluation worksheet.
Build a contact form that handles failures
Build a local Next.js contact form with server validation, a fixed recipient, spam checks, rate limiting, and honest submission states.
Diagnose expired or already-used magic links
Reproduce scanner clicks, single-use token reuse, and expiry in a local lab, then design a confirmation flow with clear recovery behavior.
Prepare every Supabase authentication email
Choose dashboard templates or the Send Email Hook, preview six authentication flows, and test signatures and email-change mappings locally.
Turn paid Checkout events into one confirmation
Verify Stripe webhooks, wait for successful payment, and use a PostgreSQL outbox to avoid duplicate order confirmations in a local simulation.
Find wrong DNS records before changing policy
Diagnose duplicate SPF records, DKIM proxy settings, wrong hostnames, and DMARC alignment with synthetic records and a read-only worksheet.
Build a Worker with a bounded email request
Run a Cloudflare Worker locally with credential checks, validated input, and bounded simulated sending, then plan a provider API connection.
Plan cutover, uncertainty, and rollback
Practice provider cutover with persistent routing, suppressions, stable cohorts, and rollback in a local PostgreSQL simulation.
Email API contracts, retries, and delivery evidence
Learn how a transactional email API handles authentication, queues, retries, and delivery events. Try a local cURL example that sends no real email.
Trace a missing email after SMTP acceptance
Trace a missing transactional email from API request to receiving server. A practical checklist for queues, bounces, spam, quarantine, and uncertain sends.
Project boundaries and shared sending limits
Design a manageable email setup for multiple SaaS apps: project-specific keys, sending domains, Test and Live environments, webhooks, limits, and ownership.
Idempotency, outboxes, and ambiguous timeouts
Use durable business events and idempotency keys to recover from email API timeouts. Includes a runnable no-send lab for lost responses and conflicting retries.
Password reset templates and token lifecycle
Download a free password reset email in HTML and plain text. Includes subject lines, fallback links, expiry copy, accessibility notes, and implementation checks.
Email tests: contracts, faults, and invariants
A practical testing strategy for email templates, API calls, retries, and webhooks. Includes a local mock server and clear limits on what simulation proves.
SPF, DKIM, and DMARC identity alignment
Understand sending domains, SPF, DKIM selectors, and DMARC alignment with DNS commands, examples, and a practical troubleshooting sequence.
Next.js email routes and durable handoff
Build a Next.js App Router email flow with a safe local fixture, stable request keys, server-side calls, error handling, and a message status lookup.
Signed webhooks and durable event processing
Verify signed email webhooks, commit events before acknowledging them, deduplicate retries, and preserve out-of-order observations. Includes a receiver and replay fixture.