@marlinjai/email-mcp 1.4.4 → 1.5.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 +22 -2
- package/dist/index.js +300 -118
- package/dist/index.js.map +3 -3
- package/dist/setup/wizard.js +228 -91
- package/dist/setup/wizard.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
|
|
|
105
105
|
# Optionally enter SMTP host and port for sending
|
|
106
106
|
```
|
|
107
107
|
|
|
108
|
-
## Available Tools (
|
|
108
|
+
## Available Tools (31)
|
|
109
109
|
|
|
110
110
|
### Account Management (4)
|
|
111
111
|
|
|
@@ -116,7 +116,7 @@ npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
|
|
|
116
116
|
| `email_remove_account` | Remove an account and its stored credentials |
|
|
117
117
|
| `email_test_account` | Test connection to an account |
|
|
118
118
|
|
|
119
|
-
### Reading & Searching (
|
|
119
|
+
### Reading & Searching (6)
|
|
120
120
|
|
|
121
121
|
| Tool | Description |
|
|
122
122
|
|------|-------------|
|
|
@@ -125,6 +125,7 @@ npx -y -p @marlinjai/email-mcp@latest email-mcp-setup
|
|
|
125
125
|
| `email_get` | Get full email content by ID (headers, body, attachment metadata) |
|
|
126
126
|
| `email_get_thread` | Get an entire email thread/conversation |
|
|
127
127
|
| `email_get_attachment` | Download a specific attachment by ID (returns base64 data) |
|
|
128
|
+
| `email_save_attachment` | Download an attachment directly to disk, returning metadata only — avoids the token cost of round-tripping large files as base64. `outputPath` is relative to a fixed downloads directory (`~/.email-mcp/downloads`, override with `EMAIL_MCP_DOWNLOADS_DIR`) and cannot escape it |
|
|
128
129
|
|
|
129
130
|
### Sending & Drafts (5)
|
|
130
131
|
|
|
@@ -217,6 +218,25 @@ pnpm test:watch
|
|
|
217
218
|
pnpm test:integration
|
|
218
219
|
```
|
|
219
220
|
|
|
221
|
+
## Credential Storage
|
|
222
|
+
|
|
223
|
+
Account credentials are encrypted at rest with AES-256-GCM in `~/.email-mcp/credentials.enc`.
|
|
224
|
+
|
|
225
|
+
By default the encryption key is derived from a stable, machine-specific identifier
|
|
226
|
+
(the hardware UUID on macOS, `/etc/machine-id` on Linux, or the `MachineGuid` on
|
|
227
|
+
Windows), falling back to the hostname when none is available.
|
|
228
|
+
|
|
229
|
+
Set the `EMAIL_MCP_KEY` environment variable to supply your own passphrase instead.
|
|
230
|
+
This is recommended when the machine identifier may change (for example in
|
|
231
|
+
containers or CI), or when you want to move `credentials.enc` between machines:
|
|
232
|
+
|
|
233
|
+
```bash
|
|
234
|
+
export EMAIL_MCP_KEY="your-strong-passphrase"
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
When `EMAIL_MCP_KEY` is set, existing credential files are transparently
|
|
238
|
+
re-encrypted with the passphrase the next time they are read.
|
|
239
|
+
|
|
220
240
|
## Support
|
|
221
241
|
|
|
222
242
|
If this project is useful to you, consider supporting its development:
|