Skip to content
THE STAMPWING FIELD GUIDE

A guide to
your app’s email.

Build your first email flow, find a missing message, or make a template your own.

Find your next step.

Search every guide, template, and tool. No account needed.

25 resources

Reset filters
Guide · Engineering

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.

17 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

6 min read
Guide · Engineering

HTTP API reference for your first integration

Exact endpoint paths, single-recipient fields, permissions, idempotency rules, response semantics, templates, and feature boundaries.

7 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

20 min read
Guide · Architecture

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.

6 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

6 min read
Guide · Templates

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.

7 min read
Guide · Engineering

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.

8 min read
Guide · Deliverability

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.

8 min read
Guide · Engineering

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.

7 min read
Guide · Architecture

Plan cutover, uncertainty, and rollback

Practice provider cutover with persistent routing, suppressions, stable cohorts, and rollback in a local PostgreSQL simulation.

9 min read
Guide · Engineering

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.

9 min read
Guide · Deliverability

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.

7 min read
Guide · Architecture

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.

10 min read
Guide · Engineering

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.

10 min read
Guide · Templates

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.

7 min read
Guide · Engineering

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.

7 min read
Guide · Deliverability

SPF, DKIM, and DMARC identity alignment

Understand sending domains, SPF, DKIM selectors, and DMARC alignment with DNS commands, examples, and a practical troubleshooting sequence.

9 min read
Guide · Engineering

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.

7 min read
Guide · Engineering

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.

8 min read