I just launched gradients.sh. Come check it out →
Email SDK
GuidesMigration guides

Migrate from the Resend SDK

Replace direct Resend calls with a typed Email SDK client while keeping Resend as the delivery adapter.

Keep your Resend API key and verified sender. The migration changes the application boundary, not the provider account.

Replace construction

Replace sends

Email SDK maps CC, BCC, reply-to, headers, attachments, tags, and sendAt. It rejects message metadata because the Resend adapter has no metadata mapping.

Add a backup only when compatible

A simple SMTP backup cannot carry Resend attachments, tags, or scheduling. Validate the complete route before queueing and keep onUnknownDelivery: "stop" unless you explicitly accept duplicate risk.

Verify

Resend adapter

See all options and mapped fields.

On this page