@marlinjai/email-mcp 1.7.2 → 1.8.1
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 -1
- package/dist/index.js +365 -123
- package/dist/index.js.map +3 -3
- package/dist/setup/wizard.js +345 -114
- package/dist/setup/wizard.js.map +4 -4
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -123,7 +123,7 @@ npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
|
|
|
123
123
|
|------|-------------|
|
|
124
124
|
| `email_list_accounts` | List all configured accounts with connection status |
|
|
125
125
|
| `email_add_account` | Add a new IMAP or iCloud account (Gmail/Outlook require setup wizard) |
|
|
126
|
-
| `email_remove_account` | Remove an account and its stored credentials |
|
|
126
|
+
| `email_remove_account` | Remove an account and its stored credentials; revokes the Google grant for Gmail, removes Outlook tokens from the local token cache, and reports the outcome |
|
|
127
127
|
| `email_test_account` | Test connection to an account |
|
|
128
128
|
|
|
129
129
|
### Reading & Searching (6)
|
|
@@ -248,6 +248,21 @@ export EMAIL_MCP_KEY="your-strong-passphrase"
|
|
|
248
248
|
When `EMAIL_MCP_KEY` is set, existing credential files are transparently
|
|
249
249
|
re-encrypted with the passphrase the next time they are read.
|
|
250
250
|
|
|
251
|
+
The Outlook refresh token lives in the token cache of Microsoft's authentication
|
|
252
|
+
library (MSAL), `~/.email-mcp/msal-cache.enc`, encrypted with the same scheme and key
|
|
253
|
+
derivation as `credentials.enc`, so `EMAIL_MCP_KEY` protects both files. Versions before 1.8.0
|
|
254
|
+
kept this cache as plain JSON in `~/.email-mcp/msal-cache.json`; 1.8.0 encrypts it and
|
|
255
|
+
deletes the plain file the first time it reads it, without signing you out. Going back
|
|
256
|
+
to an older version afterwards means signing in to Outlook again.
|
|
257
|
+
|
|
258
|
+
On macOS and Linux, attachments saved with `email_save_attachment` are written
|
|
259
|
+
owner-only (`0600`), and folders email-mcp creates for them are `0700`. They are not
|
|
260
|
+
encrypted.
|
|
261
|
+
|
|
262
|
+
The OAuth sign-in callback started by `email-mcp-setup` listens on the loopback
|
|
263
|
+
addresses only (`127.0.0.1`, and `::1` when available), so nothing else on your network
|
|
264
|
+
can reach it.
|
|
265
|
+
|
|
251
266
|
## Support
|
|
252
267
|
|
|
253
268
|
If this project is useful to you, consider supporting its development:
|