Migrate from Resend
Drop-in 1:1 compatibility layer allowing instant migration from Resend with zero code refactoring.
Multivrs Mail is engineered as a seamless 1:1 drop-in replacement for Resend. You can migrate existing applications in less than 30 seconds without refactoring any payload shapes, error handlers, or method calls.
1. Install @multivrs/mail
Terminal
bun add @multivrs/mail2. Update the Import Statement
Replace your Resend import statement with the exported compatibility module:
app/mailer.ts
// Replace this:
// import { Resend } from "resend";
// With this:
import { Resend } from "@multivrs/mail";
const resend = new Resend(process.env.MULTIVRS_API_KEY);
const { data, error } = await resend.emails.send({
from: "onboarding@yourdomain.com",
to: "user@example.com",
subject: "Hello World",
html: "<p>Congrats on sending your first email with Multivrs Mail!</p>",
});Zero Code Changes Required
- Sending: resend.emails.send(payload)
- Retrieval: resend.emails.get(id)
- Domains: resend.domains.create(), resend.domains.verify(), resend.domains.list()
- API Keys: resend.apiKeys.create(), resend.apiKeys.list()
Dual Environment Variable Detection
The Resend compatibility client checks both MULTIVRS_API_KEY and RESEND_API_KEY in process.env, so you do not even need to change your production environment variable name immediately.
Why Migrate to Multivrs Mail?
- Native swift-rust Integration: Purpose-built zero-latency TSX server action bindings and native WASM isolate runtime support.
- Full Interactive Mailboxes: Real two-way inbox client, inbound reply threading, and team mailboxes included at no extra charge.
- Sub-50ms Global Edge Routing: TLS acceleration across our worldwide point-of-presence network.
- Generous Free Tier: Send up to 3,000 emails/month free with full DKIM signing and custom domain support.