Skip to content

EmailClient

EmailClient = object

Defined in: packages/email/src/types.ts:93

An email client instance returned by createEmailClient.

Renders react-email components and delivers them through the configured EmailProvider.

send: (options) => Promise<{ id: string; }>

Defined in: packages/email/src/types.ts:100

Render a react-email component and send the resulting email.

SendOptions

The message details including recipient, subject, and React template.

Promise<{ id: string; }>

The provider-specific message ID.