apple-mail-mcp 2.17.10 → 2.18.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.
Files changed (4) hide show
  1. package/README.md +11 -3
  2. package/build/cli.js +47212 -333
  3. package/build/index.js +20092 -19878
  4. package/package.json +1 -1
package/README.md CHANGED
@@ -357,9 +357,17 @@ Mail.app path.
357
357
 
358
358
  Two differences to know when SMTP is auto-preferred:
359
359
 
360
- - **No Sent-folder copy.** SMTP submission does not file the message in Mail.app's
361
- Sent mailbox (the server's own "save to Sent" may, depending on provider). Use
362
- `transport: "applescript"` if you need the local Sent copy.
360
+ - **Sent-folder copy is best-effort over IMAP.** SMTP submission itself never
361
+ touches IMAP, so since 2.18.0 the server files the sent message into the Sent
362
+ mailbox of whichever configured IMAP account's login matches the SMTP identity
363
+ (`APPLE_MAIL_MCP_IMAP_*` mirroring `APPLE_MAIL_MCP_SMTP_*`), flagged `\Seen`.
364
+ The copy carries the same `Message-ID` that was delivered, so replies thread
365
+ against it correctly, and it keeps the `Bcc` header the recipients never see —
366
+ your own archive is exactly where that belongs. Results report `sentCopy: true`
367
+ or `sentCopy: false` with `sentCopyError`; the field is **absent** when no
368
+ configured IMAP account matches the SMTP identity, which is a skip, not a
369
+ failure. A copy that fails never fails the send — the mail has already gone.
370
+ Use `transport: "applescript"` if you want Mail.app itself to file the copy.
363
371
  - **`account` is a From override, not account selection.** Over SMTP, `account`
364
372
  is used as the From address only when it is an email address; a Mail.app
365
373
  account *label* (e.g. `"Work"`) can't select an account over SMTP, so a call