send_mail_v2
Send emails via the Samotpravil API by specifying sender, recipient, and subject, with optional templates, tracking, and dry-run testing.
Instructions
POST /api/v2/mail/send
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": {
"email_from": "<email_from>",
"email_to": "<email_to>",
"subject": "<subject>"
},
"name": "send_mail_v2"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | ||
| dry_run | No | Показать запрос без отправки на API | |
| subject | Yes | ||
| email_to | Yes | ||
| email_from | Yes | ||
| track_open | No | ||
| x_track_id | No | ||
| template_id | No | ||
| track_click | No | ||
| message_text | No | ||
| track_domain | No |