inboxctl 0.2.0 → 0.4.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 +15 -6
- package/dist/{chunk-NUN2WRBN.js → chunk-2PN3TSVQ.js} +1276 -158
- package/dist/chunk-2PN3TSVQ.js.map +1 -0
- package/dist/cli.js +463 -7
- package/dist/cli.js.map +1 -1
- package/dist/mcp.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-NUN2WRBN.js.map +0 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
Most email tools put the intelligence inside the app. `inboxctl` does the opposite: it is the infrastructure layer, and your AI agent is the brain.
|
|
10
10
|
|
|
11
|
-
Connect any MCP client, including Claude Desktop, Claude Code, or another MCP-compatible agent, and it gets structured access to search your inbox, review sender patterns, detect newsletter noise,
|
|
11
|
+
Connect any MCP client, including Claude Desktop, Claude Code, or another MCP-compatible agent, and it gets structured access to search your inbox, review sender patterns, analyze uncategorized mail at sender-level, detect newsletter noise, rank unsubscribe opportunities, review categorization anomalies, run structured inbox queries, apply labels, archive, create Gmail filters, and manage rules. `inboxctl` handles the Gmail plumbing, audit trail, and undo path.
|
|
12
12
|
|
|
13
13
|
The CLI and TUI ship alongside MCP so you can always inspect what an agent did, undo it, or run the same work manually.
|
|
14
14
|
|
|
@@ -18,9 +18,9 @@ Emails are never deleted. The tool can label, archive, mark read, and forward, b
|
|
|
18
18
|
|
|
19
19
|
| | Count | Examples |
|
|
20
20
|
|---|---|---|
|
|
21
|
-
| **Tools** |
|
|
22
|
-
| **Resources** |
|
|
23
|
-
| **Prompts** |
|
|
21
|
+
| **Tools** | 32 | `search_emails`, `get_uncategorized_senders`, `batch_apply_actions`, `query_emails`, `get_noise_senders`, `get_unsubscribe_suggestions`, `deploy_rule`, `create_filter`, `undo_run`, `review_categorized` |
|
|
22
|
+
| **Resources** | 8 | `inbox://recent`, `inbox://summary`, `inbox://action-log`, `schema://query-fields`, `rules://deployed`, `rules://history`, `stats://senders`, `stats://overview` |
|
|
23
|
+
| **Prompts** | 6 | `summarize-inbox`, `review-senders`, `find-newsletters`, `suggest-rules`, `triage-inbox`, `categorize-emails` |
|
|
24
24
|
|
|
25
25
|
An agent can read your inbox summary, review your noisiest senders, suggest a YAML rule to handle them, deploy it in dry-run, show you the results, and apply it, all through MCP calls.
|
|
26
26
|
|
|
@@ -104,11 +104,13 @@ inboxctl demo # launch the seeded demo mailbox
|
|
|
104
104
|
## Features
|
|
105
105
|
|
|
106
106
|
- **MCP server** with the full feature set exposed as tools, resources, and prompts.
|
|
107
|
+
- **Context-efficient sender workflows** with `get_uncategorized_senders` for large inbox categorization without loading every email into an agent context window.
|
|
107
108
|
- **Rules as code** in YAML, with deploy, dry-run, apply, drift detection, audit logging, and undo.
|
|
108
|
-
- **Local-first analytics** on top senders, unread rates, newsletter detection, labels, and volume trends.
|
|
109
|
+
- **Local-first analytics** on top senders, unread rates, newsletter detection, uncategorized senders, noise scoring, unsubscribe impact, anomaly review, labels, and volume trends.
|
|
110
|
+
- **Structured inbox queries** for fixed filters, aggregations, and grouping across the local cache.
|
|
109
111
|
- **Gmail filter management** for always-on server-side rules on future incoming mail.
|
|
110
112
|
- **Full audit trail** with before/after state snapshots for reversible actions.
|
|
111
|
-
- **Interactive TUI** for inbox triage, email detail, stats, rules, and search.
|
|
113
|
+
- **Interactive TUI** for inbox triage, email detail, expanded stats dashboards, rules, and search.
|
|
112
114
|
- **Guided setup wizard** for Google Cloud and local OAuth configuration.
|
|
113
115
|
- **Demo mode** with realistic seeded data for screenshots, recordings, and safe exploration.
|
|
114
116
|
|
|
@@ -151,6 +153,7 @@ inboxctl sync --full
|
|
|
151
153
|
inboxctl inbox -n 20
|
|
152
154
|
inboxctl search "from:github.com"
|
|
153
155
|
inboxctl email <id>
|
|
156
|
+
inboxctl thread <thread-id>
|
|
154
157
|
|
|
155
158
|
# actions
|
|
156
159
|
inboxctl archive <id>
|
|
@@ -164,8 +167,14 @@ inboxctl history
|
|
|
164
167
|
# analytics
|
|
165
168
|
inboxctl stats
|
|
166
169
|
inboxctl stats senders --top 20
|
|
170
|
+
inboxctl stats noise --top 20
|
|
167
171
|
inboxctl stats newsletters
|
|
172
|
+
inboxctl stats uncategorized --confidence high
|
|
173
|
+
inboxctl stats unsubscribe --top 20
|
|
174
|
+
inboxctl stats anomalies --since 2026-04-01
|
|
168
175
|
inboxctl stats volume --period week
|
|
176
|
+
inboxctl query --group-by domain --aggregate count unread_rate --sort "count desc"
|
|
177
|
+
inboxctl unsubscribe newsletter@example.com --no-archive
|
|
169
178
|
|
|
170
179
|
# rules
|
|
171
180
|
inboxctl rules deploy
|