infomaniak_purge_spam_folder
Delete all messages in a mailbox's spam folder to recover storage space and maintain a clean mailbox. Uses a two-phase commit with a security guard to prevent accidental data loss.
Instructions
Delete all messages currently in a mailbox spam folder. Destructive two-phase commit with mailbox security state guard.
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. | |
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||