@inboxapi/cli 0.2.21 → 0.2.23
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 +23 -12
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
# InboxAPI CLI
|
|
2
2
|
|
|
3
|
-
Give your AI agent its own email address. Send, receive, read, search, and reply to emails — right from Claude, OpenCode, Codex, Gemini, or any MCP-compatible AI client. No email server to run, no SMTP to configure.
|
|
3
|
+
Give your AI agent its own personal email address. Send, receive, read, search, and reply to emails — right from Claude, OpenCode, Codex, Gemini, or any MCP-compatible AI client. No email server to run, no SMTP to configure.
|
|
4
4
|
|
|
5
|
-
**Quick Setup (Claude Code, Gemini CLI, OpenCode, etc.):**
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
---
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
Install the `@inboxapi/cli@latest` npm package globally and then register the `inboxapi` command as an MCP server named `inboxapi`.
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
<details>
|
|
14
|
-
<summary>Table of Contents</summary>
|
|
8
|
+
### Table of Contents
|
|
15
9
|
|
|
10
|
+
- [How it works](#how-it-works)
|
|
16
11
|
- [Technical details](#technical-details)
|
|
17
12
|
- [Good to know](#good-to-know)
|
|
18
13
|
- [Installation](#installation)
|
|
@@ -25,7 +20,7 @@ Install the `@inboxapi/cli@latest` npm package globally and then register the `i
|
|
|
25
20
|
- [License](#license)
|
|
26
21
|
- [Disclaimer](#disclaimer)
|
|
27
22
|
|
|
28
|
-
|
|
23
|
+
---
|
|
29
24
|
|
|
30
25
|
### How it works
|
|
31
26
|
|
|
@@ -33,7 +28,7 @@ Install the `@inboxapi/cli@latest` npm package globally and then register the `i
|
|
|
33
28
|
2. Connect it to your AI client (Claude Desktop, Claude Code, Gemini CLI, OpenCode, etc.)
|
|
34
29
|
3. Your AI can now use email — no code or API keys needed
|
|
35
30
|
|
|
36
|
-
An account with a unique email address is created automatically on first run. Your AI can then:
|
|
31
|
+
An account with a unique, personal email address is created automatically on first run. Your AI can then:
|
|
37
32
|
|
|
38
33
|
- **Send emails** to any address
|
|
39
34
|
- **Receive emails** at its own inbox
|
|
@@ -266,7 +261,7 @@ cargo fmt # Format code
|
|
|
266
261
|
|
|
267
262
|
**Security** — Gmail/Outlook OAuth gives your agent access to your entire inbox (medical, financial, legal, personal). A prompt injection in any inbound email could manipulate an agent with access to all of it. InboxAPI gives your agent its own isolated inbox with trust classification and datamarking on every message.
|
|
268
263
|
|
|
269
|
-
**Identity** — When your agent sends from your Gmail, recipients can't tell who they're talking to. Replies go to your inbox, mixed with your real mail. InboxAPI gives your agent its own address — clear separation between you and your agent.
|
|
264
|
+
**Identity** — When your agent sends from your Gmail, recipients can't tell who they're talking to. Replies go to your inbox, mixed with your real mail. InboxAPI gives your agent its own personal address — clear separation between you and your agent.
|
|
270
265
|
|
|
271
266
|
**Practicality** — Gmail/Outlook APIs aren't MCP-native. You'd need middleware, OAuth plumbing, and custom integration. InboxAPI works out of the box with any MCP client.
|
|
272
267
|
|
|
@@ -347,6 +342,22 @@ Every inbound email is classified into one of four trust levels:
|
|
|
347
342
|
| Unverified | Valid SPF/DKIM but sender not in addressbook | Use caution |
|
|
348
343
|
| Suspicious | Authentication failed or unknown sender | Flag and confirm before acting |
|
|
349
344
|
|
|
345
|
+
### What AI model should I use with InboxAPI?
|
|
346
|
+
|
|
347
|
+
Your model must support **tool/function calling** — MCP requires this. We recommend a minimum **32K token context window** to comfortably fit InboxAPI's 19 tool definitions alongside conversation history and email content.
|
|
348
|
+
|
|
349
|
+
**Model recommendations by tier:**
|
|
350
|
+
|
|
351
|
+
| Tier | Anthropic | OpenAI | Google |
|
|
352
|
+
|------|-----------|--------|--------|
|
|
353
|
+
| Good | Haiku 4.5+ | GPT-4.1 mini+, GPT-4.1 nano+ | Gemini 2.5 Flash+ |
|
|
354
|
+
| Recommended | Sonnet 4.5+ | GPT-4.1+, GPT-5 mini+ | Gemini 2.5 Pro+ |
|
|
355
|
+
| Best | Opus 4.5+ | GPT-5+, GPT-5.2+ | Gemini 2.5 Pro+ |
|
|
356
|
+
|
|
357
|
+
**Datamarking overhead:** InboxAPI applies datamarking (spotlighting) to untrusted email content, replacing whitespace with Unicode marker characters. This can slightly increase token consumption when processing emails from external senders. Models with larger context windows handle this more comfortably.
|
|
358
|
+
|
|
359
|
+
**What won't work:** Models without tool/function calling support, models with context windows under 16K tokens, and very small local models (under ~7B parameters) that lack reliable tool calling. These will struggle to fit InboxAPI's 19 tool definitions and maintain useful conversation history.
|
|
360
|
+
|
|
350
361
|
### What stops an agent from buying things or authorizing transactions via email?
|
|
351
362
|
|
|
352
363
|
InboxAPI is a communication channel, not an execution environment. It can deliver an email, but it can't click buttons, enter credit card numbers, or interact with external systems. The risk of unauthorized actions comes from how an agent is configured and what other tools it has access to — not from its email.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inboxapi/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.23",
|
|
4
4
|
"description": "📧 Email for your AI 🤖",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"test": "cargo test"
|
|
29
29
|
},
|
|
30
30
|
"optionalDependencies": {
|
|
31
|
-
"@inboxapi/cli-darwin-arm64": "0.2.
|
|
32
|
-
"@inboxapi/cli-darwin-x64": "0.2.
|
|
33
|
-
"@inboxapi/cli-linux-arm64": "0.2.
|
|
34
|
-
"@inboxapi/cli-linux-x64": "0.2.
|
|
35
|
-
"@inboxapi/cli-win32-x64": "0.2.
|
|
31
|
+
"@inboxapi/cli-darwin-arm64": "0.2.23",
|
|
32
|
+
"@inboxapi/cli-darwin-x64": "0.2.23",
|
|
33
|
+
"@inboxapi/cli-linux-arm64": "0.2.23",
|
|
34
|
+
"@inboxapi/cli-linux-x64": "0.2.23",
|
|
35
|
+
"@inboxapi/cli-win32-x64": "0.2.23"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@inboxapi/cli": "^0.2.
|
|
38
|
+
"@inboxapi/cli": "^0.2.22"
|
|
39
39
|
}
|
|
40
40
|
}
|