imap_append_message
Append a raw RFC822 message to a specified mailbox, enabling you to store or import complete email content directly via IMAP.
Instructions
Append a raw RFC822 message to a mailbox
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": {
"mailbox": "<mailbox>",
"raw_message": "<raw_message>"
},
"name": "imap_append_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Target mailbox name | |
| account_id | No | Account identifier (defaults to `"default"`) | default |
| raw_message | Yes | Raw RFC822 message content (as UTF-8 string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool-specific data payload | |
| meta | Yes | Execution metadata (timestamp, duration) | |
| summary | Yes | Human-readable summary of the operation outcome |