Bird vs SendGrid
Bird vs SendGrid:事务性邮件对比
Bird 运营邮件发送基础设施,管理 IP 信誉并自主构建投递工具。如果您希望由运营发送网络的团队来处理投递反馈,并在一个 API 中整合邮件、SMS 和语音,请选择 Bird。
每天都被构建
世界级软件的团队所信赖。
谁控制发送栈?
SendGrid:IP、预热与子用户
SendGrid 提供共享和专用 IP 地址以及自动 IP 预热。其预热机制会限制新 IP 的流量,由其他已预热的 IP 处理溢出流量。
“Twilio SendGrid doesn't offer dedicated IP address reputation monitoring as a service.” Twilio 的指南将信誉的监控和维护职责分配给发送方。Twilio 还提供 Engagement Quality API,并为 Pro 和 Premier 账户提供 Expert Services,包括信誉协助和定制预热方案。
Bird:基础设施与信誉
Bird 自主运营其发送基础设施,并开发 MTA 软件,包括 PowerMTA,Bird 也提供其自托管发送许可。Bird 于 2021 年收购了 SparkPost,其网络承载了全球约 40% 的商业邮件。
Bird 管理其共享发送 IP、专用 IP 和 IP 池,支持自动预热和共享池溢出。Bird 的投递技术会按邮箱服务商调整流量,其平台会处理投递反馈并根据退信和投诉信号采取措施。这些都是 Bird 在其发送技术栈中运行的控制机制。
Bird 和 SendGrid 如何对比?
SendGrid 的批量验证和子用户适合已有的列表和租户工作流。Bird 将发送、邮箱和其他通信渠道整合在一个 API 中。以下各行对比已记录的投递和集成控制。
| 功能 | Bird | SendGrid | 谁更胜一筹? |
|---|---|---|---|
| 事务性发送 API | Bird 的 TypeScript SDK 默认抛出类型化错误;.safe() 返回 data 和 error。 | SendGrid 的 Node SDK 使用 setApiKey 和 send,通过 catch 处理 promise 拒绝。 | |
| SMTP 中继 | Bird SMTP 支持端口 465 配合 TLS,或端口 587 和 2525 配合 STARTTLS,使用 API 密钥。 | SendGrid SMTP 使用 smtp.sendgrid.net,用户名为 apikey,密码为 API 密钥;推荐在端口 587 上使用 TLS。 | |
| 邮箱地址验证 | Bird 邮箱查询每次调用检查一个地址,返回判定结果、置信度、地址标记和建议修正。 | SendGrid 验证支持单地址检查和异步批量列表验证。 | |
| 发送幂等性 | Bird 保留已完成响应 3 小时;之后的重试将作为新请求处理。 | SendGrid custom_args 将值携带至活动数据中。回传的关联值本身并非发送幂等性保证。 | |
| 内容存储与活动记录保留 | 启用内容存储后,Bird 可将邮件正文存储最多 30 天。 | SendGrid 的 Email Activity 历史记录附加组件保留事件最多 30 天。事件历史和存储的邮件正文是不同的记录。 | |
| 公开定价 | Bird 邮件套餐和费率在下表中实时显示。 | SendGrid 的公开套餐已附链接,并注明所显示金额的核实日期。 | 无法比较 |
| 专用 IP 和 IP 池 | Bird 专用 IP 和 IP 池包含自动预热功能,溢出流量通过共享池处理。 | SendGrid 自动预热需要另一个已预热的 IP 来处理溢出流量;IP 池用于分组管理专用地址。 | |
| 投递能力积淀 | Bird 于 2021 年收购了 SparkPost。其发送网络承载了全球约 40% 的商业邮件。 | Twilio 于 2019 年收购了 SendGrid,将其邮件 API 平台并入 Twilio。 | |
| SPF、DKIM、DMARC 和 BIMI | Bird 验证 DKIM、return-path 和 DMARC。BIMI 需要单独配置 DNS 和徽标。 | SendGrid 域名认证配置 SPF 和 DKIM;DMARC 和 BIMI 设置需要在外部完成。 | |
| 事件 Webhook 与签名验证 | Bird 使用 Standard Webhooks 对 webhook 投递进行签名。 | SendGrid 使用 ECDSA 对 Event Webhook 进行签名,也支持 OAuth 验证。 | |
| 邮件以外的通信渠道 | Bird 的 API 覆盖邮件、SMS、WhatsApp、语音、Verify 和 Realtime。 | SendGrid 提供 Email API。Twilio 还发布了消息和语音 API。 | |
| 供应商与采购 | 查看 Bird 发布的法律条款和政策,并与您现有的协议和采购要求进行对比。 | 查看 Twilio 的服务条款,并与您现有的协议和采购要求进行对比。 | |
| 邮箱 | Bird 的代理邮箱提供可寻址收件箱、会话线程、回复和发件人规则,全部通过代码管理。 | SendGrid Inbound Parse将解析后的入站邮件内容和附件发送到您应用的 URL。 | |
| 智能体工具 | Bird 的托管 MCP 服务器位于 mcp.bird.com,提供 354 个工具。bird CLI 可发送和检查邮件、管理域名、模板和 webhook,并为代理提供 JSON 输出和语义退出码。 | Twilio 的 CLI通过 email:send 发送 SendGrid 邮件,并通过 email:set 配置默认值。Twilio Labs 的 MCP 概念验证加载选定的 Twilio API 服务。 |
如何处理发送结果?
SendGrid 的发送 promise 在出错时 reject。Bird 默认抛出类型化错误;此示例选择使用 .safe(),以便应用可以根据 data 和 error 分支处理。
SendGrid
import sgMail from "@sendgrid/mail";
sgMail.setApiKey(process.env.SENDGRID_API_KEY!);
try {
await sgMail.send({
to: "customer@example.com",
from: "onboarding@yourdomain.com",
subject: "Your March invoice",
html: "<p>Attached.</p>",
});
} catch (err) {
console.error(err);
}
Bird
import { BirdClient } from "@messagebird/sdk";
const bird = new BirdClient({ apiKey: process.env.BIRD_API_KEY! });
const { data, error } = await bird.email
.send({
from: { email: "onboarding@yourdomain.com", name: "Acme" },
to: ["customer@example.com"],
subject: "Your March invoice",
html: "<p>Attached.</p>",
})
.safe();
if (error) console.error(error.message);
else console.log(data.id);
发送调用前后有哪些变化?
能否将 SendGrid 入站工作流迁移到 Bird 邮箱?
迁移期间如何防止重复发送?
已公布的邮件套餐
Bird 的完整月度阶梯定价如下。标注的是最接近的发送量套餐,并非针对 Bird 发送量的报价。请查看计费条款、功能及超量费用。
定价对比结论: Not comparable. 该结论比较的是每个精确发送量和币种下最低的已公布月费;仅按日计算的配额、年度承诺、用量费率、起步价和定制报价不在比较范围内。
| Bird 层级 | 每月邮件数 | Bird | SendGrid |
|---|---|---|---|
| Free | 1,000 | 最接近的已公布发送量 Essentials: Starting $19.95/mo 50,000 emails Monthly billing; published volume range is 50,000 to 100,000 emails. Taxes and overages may apply. 按公布价格 | |
| Startup | 50,000 | 匹配发送量 Essentials: Starting $19.95/mo 50,000 emails Monthly billing; published volume range is 50,000 to 100,000 emails. Taxes and overages may apply. 按公布价格 | |
| Startup | 100,000 | 匹配发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 | |
| Growth | 100,000 | 匹配发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 | |
| Growth | 250,000 | 最接近的已公布发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 | |
| Growth | 500,000 | 最接近的已公布发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 | |
| Growth | 1,000,000 | 最接近的已公布发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 | |
| Growth | 2,500,000 | 最接近的已公布发送量 Pro: Starting at $89.95/mo 100,000 emails Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply. 按公布价格 |
SendGrid: 已公布的套餐
50,000 emails
Monthly billing; published volume range is 50,000 to 100,000 emails. Taxes and overages may apply.
按公布价格
100,000 emails
Monthly billing; published volume range is 100,000 to 2,500,000 emails. Taxes and overages may apply.
按公布价格
如何比较邮件费用?
Bird 和 SendGrid 的价格行包含哪些内容?
迁移成本
SendGrid 迁移涉及哪些工作?
将每个 SendGrid personalization 映射为 Bird 的单次发送或批量条目,发布 Bird 的域名认证记录,并导入退信、垃圾邮件举报、全局退订和退订组屏蔽。将组语义显式映射到 Bird 的类别。
将 webhook 验证改写为 Standard Webhooks 并映射事件名称。切换流量前先在 Bird 的邮件沙箱中测试,并为新专用 IP 制定预热计划。迁移指南涵盖了映射和切换顺序。
付诸实践。
继续查阅此主题的文档、指南和示例。资源为英文。