Send email
sendgrid_send_mailSENDS A REAL EMAIL immediately via SendGrid. Provide from_email and one or more to recipients, plus EITHER a subject + content OR a template_id (dynamic template ids start with "d-", pass values via dynamic_template_data). Returns { status: "accepted", message_id }. SendGrid: POST /v3/mail/send.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient email addresses. | |
| to | Yes | One or more recipient email addresses. | |
| bcc | No | BCC recipient email addresses. | |
| content | No | The email body. Required unless template_id is provided. | |
| subject | No | Email subject line. Required unless a template_id supplies it. | |
| reply_to | No | Reply-To email address. | |
| from_name | No | Sender display name. | |
| from_email | Yes | Sender email address (must be a verified sender/domain). | |
| template_id | No | A template id to render (dynamic template ids start with "d-"). When set, `content` is omitted. | |
| content_type | No | MIME type of the body content (default text/html). | text/html |
| dynamic_template_data | No | Key/value data merged into a dynamic template's handlebars variables. |