imap_forward_email
Forward an existing email to new recipients, quoting original message and headers, with optional attachments. Specify folder and UID to pass it on.
Instructions
Forward an existing email (folder + uid) to new recipients, quoting the original message and headers. Optionally include the original attachments. Use when the user wants to pass an existing message on to someone else; use imap_reply_to_email instead to respond to the sender. Account defaultBcc addresses are always BCC'd when configured.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Forward to email address(es). Either an array of addresses or a single comma-separated string. | |
| bcc | No | BCC recipients. Either an array of addresses or a single comma-separated string; merged with the account defaultBcc when set. | |
| uid | Yes | UID of the email to forward | |
| body | No | Alias for 'text' (backward-compat) | |
| text | No | Additional text to include | |
| folder | No | Folder containing the original email | INBOX |
| accountId | No | Account ID (from imap_list_accounts). Optional if accountName is given or only one account is configured. | |
| accountName | No | Account name instead of accountId. Optional if accountId is given or only one account is configured. | |
| includeAttachments | No | Include original attachments |