comms.send_email
Send an email on behalf of the company. Subject to monthly email quota. HTML body supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient email address. Required. | |
| body | Yes | Email body in HTML format. Required. | |
| jobId | No | Optional job ID to link this email to. | |
| leadId | No | Optional lead ID to link this email to. | |
| subject | Yes | Email subject line. Required. | |
| messageType | No | Type of email for logging/analytics. Defaults to "manual". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error message if send failed | |
| success | No | Whether the email was sent successfully | |
| messageId | No | Email message ID for tracking |