Send Consentless Email
send_consentless_emailSend a consentless template-based email.
The email is sent immediately, without waiting for recipient's consent.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"To": {
"Address": "user@example.com"
},
"From": {
"Name": "Acme Security",
"Address": "security@acme.com"
},
"Subject": "Your login code",
"Template": {
"otp_code": {
"purpose": "login",
"app_name": "Acme",
"otp_code": "482913",
"expiry_minutes": "10",
"anti_phishing_notice": "Acme will never ask you for this code"
}
}
},
"name": "send_consentless_email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| To | Yes | Recipient address. | |
| From | No | Sender address: an existing sender identity on a verified domain. When omitted or invalid, nothing is sent and the result names how to fix it, with up to three valid sender identities. | |
| Subject | Yes | Subject of the email. | |
| Template | Yes | Consentless template: exactly one key (mfa_enrollment, new_device_login, order_completed, order_receipt, otp_code, password_changed, email_changed) with its parameters. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Result | Yes | Result of the operation. |