Merge mail folders
merge_mail_foldersMove every message from a set of duplicate folders into one folder to keep, then delete the emptied folders. Ask the user to confirm before calling this.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mailbox | Yes | Email address of the connected Outlook/Microsoft 365 mailbox to act on. Call list_authorized_mailboxes to see available options. | |
| folderIds | Yes | All folder IDs in the duplicate group, including the one to keep | |
| keepFolderId | Yes | The folder that should survive; the rest are emptied into it and deleted |