API parity
Emails, batch sends, contacts, audiences, broadcasts, domains, templates, topics and suppressions, all with Resend's shapes.
Open source · Resend-compatible
Pretend is a local emulator for the Resend API. Point the official SDK at localhost and inspect every email your app sends: HTML, headers, attachments and events.
Works with the official Resend SDKs you already use
Integrate
Pretend mirrors Resend's request and response shapes. Set the SDK's base URL to the emulator and every send lands in your local inbox instead of a real one.
re_local_dev_keyresend SDK in CI
Features
Emails, batch sends, contacts, audiences, broadcasts, domains, templates, topics and suppressions, all with Resend's shapes.
Preview, plain text, HTML, raw MIME, headers and an events timeline for every captured email.
Delivery events are signed and posted to your local endpoints, with every attempt logged and replayable.
Base64 content or remote paths up to 40 MB, stored locally and served through signed download URLs.
Send to a segment and get one captured email per contact, ready to inspect.
SQLite storage survives restarts. Reset everything with one request when you want a clean slate.
Dashboard
HTML renders in a sandboxed frame with full CSS and web fonts. JavaScript is neutralised.
docker run -p 3000:3000 -e DISABLE_LOGIN=true a2coder/pretend