面向开发者的邮件服务
用一次 API 调用从您自己的域名发送事务邮件,并跟踪每一次投递、退信、打开和点击。
curl https://send.tsmart.ai/emails \
-H "Authorization: Bearer $TSMART_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "Acme <[email protected]>",
"to": "[email protected]",
"subject": "Your order has shipped",
"html": "<p>Your order is on its way.</p>"
}'import { Tsmart } from "@tsmart/sdk";
const tsmart = new Tsmart(); // reads TSMART_API_KEY
const { data, error } = await tsmart.emails.send({
from: "Acme <[email protected]>",
to: ["[email protected]"],
subject: "Your order has shipped",
html: "<p>Your order is on its way.</p>",
});from tsmart import Tsmart
client = Tsmart() # reads TSMART_API_KEY
sent = client.emails.send({
"from": "Acme <[email protected]>",
"to": ["[email protected]"],
"subject": "Your order has shipped",
"html": "<p>Your order is on its way.</p>",
})一次请求,使用您的域名签名并投递。
- 为您的域名进行 DKIM 签名
- 带签名的 Webhook
- 退信自动抑制
发送邮件所需的一切
简洁的 REST API
一次请求即可发送一封邮件、最多 100 封的批量邮件,或提前最多 30 天定时发送的邮件。
以您的域名签名
每封邮件都会为您自己的域名进行 DKIM 签名。自动设置会为您添加 DNS 记录。
投递事件
已发送、已投递、已延迟、已退信、已打开和已点击,带签名发送到您的端点。
开发库与命令行
Node.js 和 Python 开发库以及命令行工具,均使用同一组 API 密钥。
为 AI 智能体而建
远程 MCP 服务器让智能体使用权限受限的 API 密钥发送邮件并跟踪投递。
退信与投诉自动处理
永久退信或投诉的地址会加入您的抑制列表,不会再次向其发送。
工作方式
- 01
添加域名
添加我们显示的 DNS 记录,或让自动设置代您完成。
TXT ts2610._domainkey v=DKIM1; … - 02
创建密钥
完全访问或仅发送。需要时可限定为一个域名。
ts_xxxxxxxx_•••••••••••• - 03
发送
一次 POST 请求。然后在事件中查看它的送达。
POST /emails → email.delivered
{
"mcpServers": {
"tsmart-send": {
"type": "http",
"url": "https://send.tsmart.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}免费开始,随用量增长付费。
- 免费版US$0每月 3,000 封邮件
- ProUS$16 /月每月 50,000 封起
- ScaleUS$72 /月每月 100,000 封起
- Enterprise定制按您的需求定制用量与条款