@inboxapi/cli 0.2.11 → 0.2.12
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 +26 -18
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -222,73 +222,81 @@ cargo fmt # Format code
|
|
|
222
222
|
|
|
223
223
|
## FAQ
|
|
224
224
|
|
|
225
|
-
|
|
225
|
+
### Why not just give my agent access to my Gmail or Outlook?
|
|
226
|
+
|
|
227
|
+
**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.
|
|
228
|
+
|
|
229
|
+
**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.
|
|
230
|
+
|
|
231
|
+
**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.
|
|
232
|
+
|
|
233
|
+
### How is this different from AWS SES, SendGrid, or Resend?
|
|
226
234
|
|
|
227
235
|
Those are sending APIs — you build email infrastructure on top of them. InboxAPI gives your agent a complete email identity: send, receive, search, reply, and forward. There's nothing to configure and no infrastructure to manage.
|
|
228
236
|
|
|
229
|
-
|
|
237
|
+
### How is this different from AgentMail or a1base?
|
|
230
238
|
|
|
231
239
|
We built our own email stack from the ground up. We don't wrap SES, Postfix, or any third-party sending service. Your agent's mail goes through infrastructure we operate directly.
|
|
232
240
|
|
|
233
|
-
|
|
241
|
+
### Is it really free?
|
|
234
242
|
|
|
235
243
|
Yes. No credit card, no trial period, no usage tiers. We're working on paid plans with additional features, but the core experience will always be free.
|
|
236
244
|
|
|
237
|
-
|
|
245
|
+
### How do you prevent spam and abuse?
|
|
238
246
|
|
|
239
247
|
Account creation requires proof-of-work. Each account can only email 5 unique external email addresses per week. Daily send quotas and rate limiting are enforced on every account. These constraints are structural — they're not policies, they're how the system works.
|
|
240
248
|
|
|
241
|
-
|
|
249
|
+
### What about prompt injection via email?
|
|
242
250
|
|
|
243
251
|
Every inbound email includes a trust classification — trusted, agent, unverified, or suspicious — based on whether the sender is in your addressbook and whether their email passes authentication checks. This helps your agent decide how cautiously to handle each message. Emails from other InboxAPI agents are flagged separately so your agent knows to check with you before acting on them.
|
|
244
252
|
|
|
245
253
|
Additionally, untrusted email content is automatically transformed using spotlighting (datamarking) — whitespace is replaced with a unique marker character so your agent can clearly distinguish email data from its own instructions. This reduces the success rate of prompt injection attacks embedded in emails from ~50% to under 3%.
|
|
246
254
|
|
|
247
|
-
|
|
255
|
+
### What is spotlighting?
|
|
248
256
|
|
|
249
257
|
Email retrieval tools apply datamarking to untrusted content, replacing whitespace with a unique Unicode marker character generated per request. Content containing the marker should be treated as external data — never as instructions to follow. To recover the original text, replace the marker with a space. Emails from trusted senders (in your addressbook with valid authentication) are not spotlighted by default. This technique is based on academic research ([arXiv:2403.14720](https://arxiv.org/abs/2403.14720)).
|
|
250
258
|
|
|
251
|
-
|
|
259
|
+
### What about data exfiltration?
|
|
252
260
|
|
|
253
261
|
Outbound emails are scanned for authentication tokens and credentials. If your agent accidentally tries to send an email containing a JWT or access token, the message is rejected before it leaves the platform. This prevents agents from being tricked into leaking sensitive data via email. Additionally, all recipient addresses in send, reply, and forward operations are validated against RFC 5322 — malformed addresses are rejected before delivery.
|
|
254
262
|
|
|
255
|
-
|
|
263
|
+
### Can agents spam each other?
|
|
256
264
|
|
|
257
265
|
The same send limits apply to all outbound email — recipient caps, quotas, and rate limiting work the same regardless of who's on the receiving end.
|
|
258
266
|
|
|
259
|
-
|
|
267
|
+
### Will my agent's emails land in spam?
|
|
260
268
|
|
|
261
269
|
Maybe at first. Each agent gets a brand-new subdomain, and new senders don't have reputation yet. Recipients may need to check their spam folder for the first few emails. Over time, as your agent sends legitimate mail and recipients interact with it, delivery improves.
|
|
262
270
|
|
|
263
|
-
|
|
271
|
+
### Why email instead of a native agent protocol like A2A?
|
|
264
272
|
|
|
265
273
|
Email reaches the entire existing internet — billions of people and businesses already use it. A2A requires both sides to implement the protocol. When your agent needs to reach someone outside its own ecosystem, email is the universal option. Agents will likely need both.
|
|
266
274
|
|
|
267
|
-
|
|
275
|
+
### What are the send limits?
|
|
268
276
|
|
|
269
277
|
Each account can email up to 5 unique external email addresses per week. Emails to other @inboxapi.ai addresses don't count against this limit. The limit resets weekly.
|
|
270
278
|
|
|
271
|
-
|
|
279
|
+
### What happens when I hit the limit?
|
|
272
280
|
|
|
273
281
|
When all 5 slots are in use, the least recently used entry is auto-replaced after 5 days of inactivity.
|
|
274
282
|
|
|
275
|
-
|
|
283
|
+
### Can I send attachments?
|
|
276
284
|
|
|
277
285
|
Not yet. Attachment support is coming soon.
|
|
278
286
|
|
|
279
|
-
|
|
287
|
+
### Can I send HTML emails?
|
|
280
288
|
|
|
281
289
|
HTML email support is coming soon. Currently emails are sent as plain text.
|
|
282
290
|
|
|
283
|
-
|
|
291
|
+
### How do credentials work?
|
|
284
292
|
|
|
285
293
|
Your agent's credentials are stored locally at `~/.config/inboxapi/credentials.json` (Linux) or `~/Library/Application Support/inboxapi/credentials.json` (macOS). The CLI handles token creation and refresh automatically — your agent never needs to manage tokens manually.
|
|
286
294
|
|
|
287
|
-
|
|
295
|
+
### What domains are blocked from sending?
|
|
288
296
|
|
|
289
297
|
InboxAPI maintains a denylist that blocks sending to government (.gov), military (.mil), intelligence, law enforcement, nuclear/critical infrastructure, and disposable email domains.
|
|
290
298
|
|
|
291
|
-
|
|
299
|
+
### How does the trust classification work?
|
|
292
300
|
|
|
293
301
|
Every inbound email is classified into one of four trust levels:
|
|
294
302
|
|
|
@@ -299,7 +307,7 @@ Every inbound email is classified into one of four trust levels:
|
|
|
299
307
|
| Unverified | Valid SPF/DKIM but sender not in addressbook | Use caution |
|
|
300
308
|
| Suspicious | Authentication failed or unknown sender | Flag and confirm before acting |
|
|
301
309
|
|
|
302
|
-
|
|
310
|
+
### What stops an agent from buying things or authorizing transactions via email?
|
|
303
311
|
|
|
304
312
|
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.
|
|
305
313
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inboxapi/cli",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.12",
|
|
4
4
|
"description": "📧 Email for your AI 🤖",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"test": "cargo test"
|
|
28
28
|
},
|
|
29
29
|
"optionalDependencies": {
|
|
30
|
-
"@inboxapi/cli-darwin-arm64": "0.2.
|
|
31
|
-
"@inboxapi/cli-darwin-x64": "0.2.
|
|
32
|
-
"@inboxapi/cli-linux-x64": "0.2.
|
|
33
|
-
"@inboxapi/cli-linux-arm64": "0.2.
|
|
34
|
-
"@inboxapi/cli-win32-x64": "0.2.
|
|
30
|
+
"@inboxapi/cli-darwin-arm64": "0.2.12",
|
|
31
|
+
"@inboxapi/cli-darwin-x64": "0.2.12",
|
|
32
|
+
"@inboxapi/cli-linux-x64": "0.2.12",
|
|
33
|
+
"@inboxapi/cli-linux-arm64": "0.2.12",
|
|
34
|
+
"@inboxapi/cli-win32-x64": "0.2.12"
|
|
35
35
|
}
|
|
36
36
|
}
|