send-email
Send transactional emails to single or multiple recipients using Mailtrap's API. Configure sender, recipients, subject, and content while supporting CC, BCC, and HTML formatting for email delivery.
Instructions
Send an email to your recipient email address using Mailtrap Email API. You can send emails to multiple recipients at once.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Email address of the sender (optional with default) | |
| 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 |