send_email
Send emails through Gmail with support for multiple recipients, CC, BCC, HTML content, and file attachments.
Instructions
Send an email via Gmail.
Args: to: Recipient email address(es). subject: Email subject line. body: Email body content (plain text or HTML). cc: CC recipient(s), optional. bcc: BCC recipient(s), optional. html: If True, send body as HTML instead of plain text. attachments: List of local file paths to attach, optional. Files that cannot be read are skipped with a warning.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| subject | Yes | ||
| body | Yes | ||
| cc | No | ||
| bcc | No | ||
| html | No | ||
| attachments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |