/emailsSend an email
Accepts the Resend-compatible send body. Duplicate Idempotency-Key retries within 24 hours replay the original accepted id.
- •Requires a verified sending domain for production traffic.
await resend.emails.send({
from: "Acme <onboarding@example.com>",
to: ["user@example.com"],
subject: "Welcome",
html: "<p>Hello world</p>",
});