infomaniak_harden_mailbox_security
Apply conservative mailbox security hardening: enable spam movement and mail filtering, optionally set filtering folders, with a two-phase commit for safe changes.
Instructions
Plan and apply conservative mailbox security hardening: enable spam movement, enable mail filtering, and optionally set filtering folders. Two-phase commit with audit/current-state guard.
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": {
"mail_hosting_id": "<mail_hosting_id>",
"mailbox_name": "<mailbox_name>"
},
"name": "infomaniak_harden_mailbox_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox_name | Yes | Local part of the mailbox (the part before @, e.g. 'info' for info@example.com). NOT the full email address. | |
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| ensure_move_spam | No | Set has_move_spam=true when currently disabled. Defaults to true. | |
| confirmation_token | No | ||
| ensure_mail_filtering | No | Set has_mail_filtering=true when currently disabled. Defaults to true. | |
| mail_filtering_folder_commercials | No | Optional commercials/newsletter filtering folder to set. | |
| mail_filtering_folder_social_networks | No | Optional social-network filtering folder to set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||