apple-mail-mcp 2.16.0 → 2.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -4
- package/build/index.js +493 -261
- package/docs/NODE-RUNTIME-AND-TCC-PERMISSIONS.md +32 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -937,10 +937,21 @@ List all mailboxes for an account.
|
|
|
937
937
|
|-----------|------|----------|-------------|
|
|
938
938
|
| `account` | string | No | Account to list from, or `"On My Mac"` for the local store |
|
|
939
939
|
|
|
940
|
-
**Returns:** List of mailbox
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
940
|
+
**Returns:** List of mailbox **paths** (account-relative, e.g. `Archive/Inbox` for
|
|
941
|
+
a nested mailbox — a top-level `Inbox` stays `Inbox`) with message and unread
|
|
942
|
+
counts. A source that could not be read is **named** (`partial: true` +
|
|
943
|
+
`failedAccounts`) rather than dropped, and a listing Mail refused outright
|
|
944
|
+
returns an error naming the accounts that do exist — never an empty list.
|
|
945
|
+
|
|
946
|
+
**Nested mailboxes and Gmail labels.** Every `mailbox` parameter across this
|
|
947
|
+
server (search-messages, list-messages, get-unread-count, move-message,
|
|
948
|
+
delete-mailbox, rename-mailbox, create-rule's `moveTo`) accepts either the full
|
|
949
|
+
path or a leaf name that is unique across the account — the same rule
|
|
950
|
+
move-message has always used. A leaf name that matches more than one mailbox
|
|
951
|
+
(e.g. a top-level `Inbox` and an `Archive/Inbox` on an Exchange account) is
|
|
952
|
+
refused rather than guessed; pass the full path to disambiguate. This also
|
|
953
|
+
means Gmail's nested special mailboxes now report their real path, e.g.
|
|
954
|
+
`[Gmail]/All Mail` rather than `All Mail` — a visible change from before 2.17.0.
|
|
944
955
|
|
|
945
956
|
**Mail's local "On My Mac" mailboxes** are not children of any account — they
|
|
946
957
|
hang off the application — so they are reported under the synthetic account label
|