@marlinjai/email-mcp 1.3.0 → 1.4.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 +13 -1
- package/dist/index.js +907 -573
- package/dist/index.js.map +4 -4
- package/dist/setup/wizard.js +315 -127
- package/dist/setup/wizard.js.map +3 -3
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -103,7 +103,7 @@ npx @marlinjai/email-mcp setup
|
|
|
103
103
|
# Optionally enter SMTP host and port for sending
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
## Available Tools (
|
|
106
|
+
## Available Tools (30)
|
|
107
107
|
|
|
108
108
|
### Account Management (4)
|
|
109
109
|
|
|
@@ -157,6 +157,18 @@ npx @marlinjai/email-mcp setup
|
|
|
157
157
|
|
|
158
158
|
All batch tools accept a `sourceFolder` parameter for IMAP/iCloud and include a sequential fallback for maximum compatibility.
|
|
159
159
|
|
|
160
|
+
### Spam Moderation (5)
|
|
161
|
+
|
|
162
|
+
| Tool | Description |
|
|
163
|
+
|------|-------------|
|
|
164
|
+
| `email_report_spam` | Report an email as spam/junk, training the provider's own filter — the same signal the "Report Junk" button sends in Gmail/Outlook. This is different from `email_delete`, which removes the message but teaches the filter nothing. **Not** an abuse report to the provider's security team; it only trains this account's filter |
|
|
165
|
+
| `email_batch_report_spam` | Report multiple emails as spam/junk at once |
|
|
166
|
+
| `email_create_block_rule` | Create a standing rule that intercepts future mail matching a pattern (sender domain/address, subject, or arbitrary header content) and either deletes it or files it straight to Junk. Use `headerContains` (e.g. a Reply-To domain) to block a spam template family whose visible "From" domain rotates — matching the rotating domain directly stops working within days. **Not supported on iCloud/generic IMAP** (no standard server-side rule mechanism exists across IMAP servers). On Outlook, requires the `MailboxSettings.ReadWrite` scope — accounts authenticated before this tool existed need to re-run the setup wizard once to re-consent |
|
|
167
|
+
| `email_list_block_rules` | List the standing block rules on an account, for auditing or before deleting one |
|
|
168
|
+
| `email_delete_block_rule` | Delete a standing block rule — use to undo a rule that turned out too broad |
|
|
169
|
+
|
|
170
|
+
Gmail and Outlook only for the rule tools; `email_report_spam`/`email_batch_report_spam` work on every provider (iCloud/IMAP fall back to a best-effort move into the account's Junk-typed folder, with no vendor ML training signal since generic IMAP has none to train).
|
|
171
|
+
|
|
160
172
|
## Usage with Claude Code
|
|
161
173
|
|
|
162
174
|
Add the following to your `.mcp.json` file (project-level or global `~/.claude/.mcp.json`):
|