send-email
Send transactional emails to recipients with support for CC/BCC, text/HTML content, and category-based tracking using Mailtrap's email delivery service.
Instructions
Send transactional email using Mailtrap
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bcc | No | Optional BCC recipients | |
| category | Yes | Email category for tracking | |
| cc | No | Optional CC recipients | |
| from | No | Email address of the sender (optional with default) | |
| html | No | Optional HTML version of the email body | |
| subject | Yes | Email subject line | |
| text | No | Email body text | |
| to | Yes | Email address(es) of the recipient(s) - can be a single email or array of emails |
Input Schema (JSON Schema)
{
"properties": {
"bcc": {
"description": "Optional BCC recipients",
"items": {
"format": "email",
"type": "string"
},
"type": "array"
},
"category": {
"description": "Email category for tracking",
"type": "string"
},
"cc": {
"description": "Optional CC recipients",
"items": {
"format": "email",
"type": "string"
},
"type": "array"
},
"from": {
"description": "Email address of the sender (optional with default)",
"format": "email",
"type": "string"
},
"html": {
"description": "Optional HTML version of the email body",
"type": "string"
},
"subject": {
"description": "Email subject line",
"type": "string"
},
"text": {
"description": "Email body text",
"type": "string"
},
"to": {
"description": "Email address(es) of the recipient(s) - can be a single email or array of emails",
"oneOf": [
{
"description": "Single email address",
"format": "email",
"type": "string"
},
{
"description": "Array of email addresses",
"items": {
"format": "email",
"type": "string"
},
"type": "array"
}
]
}
},
"required": [
"to",
"subject",
"category"
],
"type": "object"
}