apple-mail-mcp 2.10.13 → 2.10.14
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 +16 -2
- package/docs/IMAP-SETUP.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -579,7 +579,7 @@ Dropped connections reconnect with backoff, and the watchers shut down cleanly o
|
|
|
579
579
|
|
|
580
580
|
Enable it in your MCP client config alongside the IMAP settings:
|
|
581
581
|
|
|
582
|
-
```
|
|
582
|
+
```json
|
|
583
583
|
{
|
|
584
584
|
"mcpServers": {
|
|
585
585
|
"apple-mail": {
|
|
@@ -680,6 +680,20 @@ Return an attachment's bytes as base64 (the read counterpart to inline-base64 se
|
|
|
680
680
|
|
|
681
681
|
---
|
|
682
682
|
|
|
683
|
+
#### `resolve-message-id`
|
|
684
|
+
|
|
685
|
+
Map `imap:` message IDs to their numeric Mail.app IDs, via each message's RFC 5322 `Message-ID` (the join key both backends share). Needed only for the two tools that are numeric-ID-only — `reply-to-message` and `forward-message`. Numeric IDs pass through unchanged.
|
|
686
|
+
|
|
687
|
+
| Parameter | Type | Required | Description |
|
|
688
|
+
|-----------|------|----------|-------------|
|
|
689
|
+
| `ids` | string[] | Yes | 1–100 message IDs, each numeric or `imap:…` |
|
|
690
|
+
|
|
691
|
+
**Returns:** For each input ID, its `numericId` (or `null` when it can't be resolved) and the `messageId` used, plus `count` and `resolvedCount`. The lookup scopes to the message's account and checks its INBOX first, to avoid scanning a large All Mail/Archive mailbox.
|
|
692
|
+
|
|
693
|
+
> **You do not need this for flag colors (v2.10.0+).** Colors used to require the numeric-ID path, and older docs and tool descriptions said so. `flag-message` and `batch-flag-messages` now write the color over IMAP directly, as Mail.app's `$MailFlagBit0/1/2` keywords, so a smart mailbox keyed on flag color matches an IMAP-flagged message. Resolving IDs just to apply a color reintroduces the AppleScript/TCC dependency 2.10.0 removed. Flag, move, mark, and delete all accept `imap:` IDs as-is.
|
|
694
|
+
|
|
695
|
+
---
|
|
696
|
+
|
|
683
697
|
#### `reply-to-message`
|
|
684
698
|
|
|
685
699
|
Reply to an existing message.
|
|
@@ -1309,7 +1323,7 @@ This repo ships a `.mcp.json` at its root so that, when you run `claude` from in
|
|
|
1309
1323
|
|
|
1310
1324
|
The entrypoint is written as:
|
|
1311
1325
|
|
|
1312
|
-
```
|
|
1326
|
+
```text
|
|
1313
1327
|
"args": ["${CLAUDE_PROJECT_DIR:-.}/build/index.js"]
|
|
1314
1328
|
```
|
|
1315
1329
|
|
package/docs/IMAP-SETUP.md
CHANGED
|
@@ -111,7 +111,7 @@ The server reads `APPLE_MAIL_MCP_*` settings. There are two ways to supply them;
|
|
|
111
111
|
Works with clients that pass an `env` block through to the server (e.g. **Claude
|
|
112
112
|
Code** via `~/.claude.json`, and most standard `mcpServers` configs).
|
|
113
113
|
|
|
114
|
-
```
|
|
114
|
+
```json
|
|
115
115
|
{
|
|
116
116
|
"mcpServers": {
|
|
117
117
|
"apple-mail": {
|
package/package.json
CHANGED