Resend Plugin
The @codesordinatestudio/radiant-plugin-resend plugin provides a modern email adapter for sending transactional emails via the Resend API, completely bypassing the need for traditional SMTP configurations.
Installation
bun add @codesordinatestudio/radiant-plugin-resend resend
Usage
Configure the plugin in your radiant.config.ts:
import { radiant } from "@codesordinatestudio/radiant-bun";
import { resendEmail } from "@codesordinatestudio/radiant-plugin-resend";
const app = radiant({
email: resendEmail({
apiKey: process.env.RESEND_API_KEY, // Or uses Bun.env.RESEND_API_KEY automatically
from: '"Radiant App" <noreply@radiant.dev>' // Or uses Bun.env.SMTP_FROM automatically
}),
});