Mark as spam
email_mark_spamMove an email to the spam or junk folder to mark it as unwanted. Uses special-use folder detection for reliable spam reporting.
Instructions
Move an email to the account's spam/junk folder (special-use aware).
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": {
"uid": "<uid>"
},
"name": "email_mark_spam"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| folder | No | INBOX | |
| server | No | Server/account id to target. Defaults to the configured default server. |