Forward an email
mail_forwardForwards a message, with its attachments, to new recipients from the account that received it, with an optional note on top. Use it to pass mail on to someone. Returns sent. It can return pending_approval: tell the user a person must approve it in Prubex, and do not retry. Example: { "message_id": "msg_…", "to": [{ "email": "chen@northwind.example.com" }] }.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"message_id": "<message_id>",
"to": "<to>"
},
"name": "mail_forward"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | Copied recipients. | |
| to | Yes | Who to forward it to, as `{ email, name? }`. | |
| bcc | No | Blind-copied recipients. | |
| body | No | A note above the forwarded message. | |
| message_id | Yes | A message id (`msg_…`) from a list or search. | |
| attachments | No | Files to add; with the original's attachments, within the account's limit. | |
| idempotency_key | No | Any unique string. Retrying with the same key within 24 h never repeats the action. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | What happened, in words for the user. | |
| thread_id | No | ||
| account_id | Yes | ||
| expires_at | No | When held: when the request expires. | |
| message_id | No | The sent message, when the provider reports it. | |
| review_url | No | When held: where a person approves it in Prubex. | |
| approval_id | No | When held: pass it to approvals_get later. |