forward_email
Forward an existing email to new recipients, preserving original attachments and subject prefix. Verifies the source message before sending, so an unreadable message cancels the forward instead of delivering incomplete content.
Instructions
Forward an existing message to new recipients using the specified account. The source message is read over IMAP first: if it cannot be read, the call fails before any SMTP session is opened, so a forward is never delivered without the content it was supposed to carry. The subject is derived from the source as 'Fwd: ' without stacking a second prefix, the caller's note is placed above a plain-text forwarded block re-composed from the source's parsed text body, and the source's attachments are re-attached with their original MIME types unless include_attachments is false. Partial or ambiguous SMTP delivery reports per-recipient succeeded/failed/unknown status and reports the independent Sent-copy outcome separately; ambiguous effects are not retried automatically.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | A list of CC email addresses. | |
| bcc | No | A list of BCC email addresses. | |
| body | No | An optional note placed above the forwarded content. | |
| email_id | Yes | UID of the source message to forward. | |
| recipients | Yes | A list of addresses that receive the forwarded message. | |
| account_name | Yes | The name of the email account to forward from. | |
| source_mailbox | No | The mailbox that contains the source message. | INBOX |
| include_attachments | No | Whether to re-attach the source message's attachments. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |