Resend

Send transactional emails from your extension. The Resend API key stays server-side in the Edge Function — the extension code never touches it.

Requires ChromeShip Pro

Upgrade to Pro to unlock Resend.

Import

import { email } from "@/integrations/resend";

email.text — plain text

Good for simple notifications, password resets, welcome emails.

await email.text("user@example.com", "Welcome", "Your account is ready.");

email.html — HTML

Good for styled newsletters, receipts, marketing emails.

await email.html("user@example.com", "Receipt", "<b>Thank you for your purchase</b>");

email.send — full control

CC, BCC, reply-to, attachments. Good for invoices, reports, or any email with attachments.

await email.send({
  to: "user@example.com",
  subject: "Your invoice",
  html: "<p>Attached is your invoice for this month.</p>",
  cc: ["team@you.com"],
  bcc: ["audit@you.com"],
  replyTo: "support@you.com",
  attachments: [{ filename: "invoice.pdf", content: base64Pdf, contentType: "application/pdf" }],
});