send-email
Send transactional emails via API to single or multiple recipients, including CC/BCC options and text/HTML content.
Instructions
Send an email to your recipient email address using Mailtrap Email API. You can send emails to multiple recipients at once.
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": {
"to": "<to>",
"subject": "<subject>",
"category": "<category>"
},
"name": "send-email"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Email address of the sender | |
| to | Yes | Email address(es) of the recipient(s) - can be a single email or array of emails | |
| subject | Yes | Email subject line | |
| cc | No | Optional CC recipients | |
| bcc | No | Optional BCC recipients | |
| category | Yes | Email category for tracking | |
| text | No | Email body text | |
| html | No | Optional HTML version of the email body |