Gửi email giao dịch
mail_sendSend transactional emails through MONA Mail using verified domains, with optional sandbox mode to test without delivery or charges.
Instructions
Khi gửi OTP hoặc thông báo, dùng domain đã verify; onboarding@monamail.vn chỉ gửi tới email chủ. sandbox=true thử 0đ, không gửi ra Internet. / Use to send transactional email or test in sandbox.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "mail_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| from | Yes | ||
| html | No | ||
| tags | No | ||
| text | No | ||
| sandbox | No | Gửi X-Mona-Sandbox: 1, không tính quota hoặc trừ ví. / Test without delivery or charges. | |
| subject | No | Bắt buộc nếu không dùng template_id. / Required without a template. | |
| reply_to | No | ||
| variables | No | ||
| template_id | No | ||
| idempotency_key | No | Giữ cùng key khi thử lại cùng yêu cầu trong 24 giờ. / Reuse for retries. | |
| unsubscribe_url | No |