Skip to content
全部能力
集成packages/integrations/email

email 能力包

渲染 React Email 模板,经 Resend / SES / SMTP 投递;所有交易邮件统一 sendEmail(template, props, recipient)。

打开文档
稳定性
稳定
作用域
全局
边界
packages/integrations/email
emailpackages/integrations/email
Provider-agnostic
可用提供方
Resend在用
SESstandby
Postmarkstandby
SMTPstandby
传入请求email
{ to: "[email protected]", subject: "Welcome" }
Adapter 解析2毫秒
email 分发66毫秒
已确认4毫秒
x

提供方

Resend

P50 延迟

77 毫秒

成功率

97%

+0.8%

今日总量

4,187

packages/integrations/emailprovider-agnostic
使用方式email.tsx
typescript
email.tsx
1import { sendEmail } from "@nebutra/email";
2import { WelcomeEmail } from "@/emails/welcome";
3
4await sendEmail({
5  to: user.email,
6  subject: "Welcome to Nebutra",
7  react: <WelcomeEmail name={user.name} orgName={org.name} />,
8  // Routes via Resend / SES / SMTP based on env.
9});