message_create
Create or append an email message to an alias mailbox, supporting IMAP/Nodemailer format, recipients, attachments, flags, labels, and more.
Instructions
Create/append a message for an alias (IMAP, Nodemailer format). Requires alias credentials.
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": {
"alias_username": "<alias_username>",
"alias_password": "<alias_password>"
},
"name": "message_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cc | No | CC recipient(s) | |
| to | No | Recipient(s), comma-separated or array | |
| bcc | No | BCC recipient(s) | |
| from | No | Sender address | |
| html | No | HTML body | |
| text | No | Plain-text body | |
| flags | No | IMAP flags | |
| folder | No | Target folder (default INBOX) | |
| labels | No | Labels (max 10) | |
| subject | No | Subject line | |
| attachments | No | List of attachment objects | |
| alias_password | Yes | Alias password from the alias_generate_password tool | |
| alias_username | Yes | Full alias email used as the auth username (e.g. me@example.com) |