infomaniak_update_mailbox_folders
Update mailbox folder mappings for archives, drafts, sent, trash, spam, and social folders with a two-phase secure commit.
Instructions
Update mailbox folder mappings for archives, drafts, sent, trash, spam, commercials, and social-network folders. Two-phase commit with mailbox security state guard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent_folder | Yes | Folder mapped to sent mail. | |
| spam_folder | No | Folder for spam-labelled mail, or null to clear when allowed. | |
| draft_folder | Yes | Folder mapped to drafts. | |
| mailbox_name | Yes | Local part of the mailbox (the part before @, e.g. 'info' for info@example.com). NOT the full email address. | |
| trash_folder | Yes | Folder mapped to trash. | |
| archives_folder | Yes | Folder mapped to archives. | |
| mail_hosting_id | Yes | Mail hosting ID. Discover via infomaniak_list_mail_hostings. | |
| commercials_folder | No | Folder for commercial/newsletter filtering, or null to clear. | |
| confirmation_token | No | ||
| social_networks_folder | No | Folder for social-network filtering, or null to clear. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||