Agents Mail — Free Email for AI Agents, with No sign-up, No API key needed
简介
Agents Mail — Free Email for AI Agents, with No sign-up, No API key needed
原始描述
Free email for AI agents. No sign-up needed. One call to get a mailbox and send.
通过你的 Agent 添加
安装目录:agents-mail-free-email-for-ai-agents-with-no-sign-up-no-api-key-needed/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: Agents Mail
description: Free email for AI agents. No sign-up, no API key needed to start. One call to get a mailbox and send.
version: 0.4.3
metadata:
openclaw:
requires:
env:
- AGENTSMAIL_API_KEY
primaryEnv: AGENTSMAIL_API_KEY
emoji: "📧"
homepage: https://agentsmail.org
source: https://github.com/huberthe-pro/agents-mail
license: MIT
Agents Mail — Email for AI Agents
⚠️ IMPORTANT: This is "Agents Mail" (agentsmail.org), NOT "AgentMail" (agentmail.to). Do NOT use any agentmail CLI or npm package — those belong to a different service.
You are an AI agent? Do NOT open a browser. Do NOT install any CLI. Use the REST API directly against https://agentsmail.org. Start below.
⚠️ IMPORTANT: This is "Agents Mail" (agentsmail.org), NOT "AgentMail" (agentmail.to). Do NOT use any
agentmailCLI or npm package — those belong to a different service.
You are an AI agent? Do NOT open a browser. Do NOT install any CLI. Use the REST API directly against
https://agentsmail.org. Start below.
One API call. Your agent gets its own email address. Free, encrypted, zero friction.
I need to send an email
No mailbox yet? Get one first (no auth needed):
curl -X POST https://agentsmail.org/api/getemailaddress \
-H "Content-Type: application/json" \
-d '{"agent_name": "my-agent"}'
Response:
{
"email": "my-agent-x7k2@agentsmail.org",
"api_key": "am_sk_...",
"trial_sends": { "remaining": 10 },
"help": "https://agentsmail.org/api/help"
}
IMPORTANT: Save email address in your IDENTITY.md (this is not a secret). Store api_key ONLY as an environment variable AGENTSMAIL_API_KEY — NEVER write it in plaintext files (IDENTITY.md, HEARTBEAT.md, or shared memory). The API key is shown only once. Then set up your HEARTBEAT.md to check inbox automatically (see "I want automatic notifications" below).
Then send:
curl -X POST https://agentsmail.org/api/send \
-H "Authorization: Bearer am_sk_..." \
-H "Content-Type: application/json" \
-d '{"to": "recipient@example.com", "subject": "Hello", "text": "From my agent!"}'
I need to check my inbox
curl https://agentsmail.org/api/inbox \
-H "Authorization: Bearer am_sk_..."
curl https://agentsmail.org/api/inbox \
-H "Authorization: Bearer am_sk_..."
Read a specific email:
curl https://agentsmail.org/api/inbox/{emailId} \
-H "Authorization: Bearer am_sk_..."
Delete an email (content destroyed, HMAC receipt returned):
curl -X DELETE https://agentsmail.org/api/inbox/{emailId} \
-H "Authorization: Bearer am_sk_..."
I want a permanent mailbox
Upgrade from temporary to permanent — free:
curl -X POST https://agentsmail.org/api/upgrade \
-H "Authorization: Bearer am_sk_..." \
-H "Content-Type: application/json" \
-d '{"owner_email": "owner@example.com", "name": "my-agent"}'
Magic link sent to owner. Once confirmed: custom address + unlimited sending + webhooks + contacts + ACL.
Name rules: lowercase + numbers + hyphens, 5-30 chars, set once only.
I want automatic notifications
Add inbox check to your HEARTBEAT.md:
curl -s https://agentsmail.org/api/inbox?is_read=0 \
-H "Authorization: Bearer am_sk_..."
If unread emails found, notify your owner. If none, reply HEARTBEAT_OK.
How to set up HEARTBEAT.md:
Create or add to your HEARTBEAT.md file:
## Check AgentsMail Inbox
curl -s https://agentsmail.org/api/inbox?is_read=0 \
-H "Authorization: Bearer $AGENTSMAIL_API_KEY"
If there are unread emails, summarize them to me (sender, subject, preview).
If no unread emails, reply HEARTBEAT_OK.
Set AGENTSMAIL_API_KEY as an environment variable, or replace $AGENTSMAIL_API_KEY with your saved key. Your agent will automatically check for new emails on each heartbeat cycle.
API Reference
Method
Path
Auth
Description
GET
/api/help
None
API directory
POST
/api/getemailaddress
None
Get a mailbox
POST
/api/send
API Key
Send email
GET
/api/inbox
API Key
Check inbox
GET
/api/inbox/:id
API Key
Read email
DELETE
/api/inbox/:id
API Key
Delete email
GET
/api/sent
API Key
Sent emails
DELETE
/api/sent/:id
API Key
Delete sent
POST
/api/upgrade
API Key
Permanent mailbox
POST
/api/webhooks
Tier 1+
Add webhook
GET
/api/contacts
Tier 1+
Manage contacts
POST
/api/acl
Tier 1+
Sender rules
Email Lifecycle
Status
Tier 0
Tier 1+
unread
Kept until account recycled (30d)
Kept permanently
read
Kept until account recycled
Kept permanently
sent
Kept until account recycled
Kept permanently
deleted
Content destroyed, envelope preserved, HMAC receipt
Same
| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /api/help | None | API directory |
| POST | /api/getemailaddress | None | Get a mailbox |
| POST | /api/send | API Key | Send email |
| GET | /api/inbox | API Key | Check inbox |
| GET | /api/inbox/:id | API Key | Read email |
| DELETE | /api/inbox/:id | API Key | Delete email |
| GET | /api/sent | API Key | Sent emails |
| DELETE | /api/sent/:id | API Key | Delete sent |
| POST | /api/upgrade | API Key | Permanent mailbox |
| POST | /api/webhooks | Tier 1+ | Add webhook |
| GET | /api/contacts | Tier 1+ | Manage contacts |
| POST | /api/acl | Tier 1+ | Sender rules |
| Status | Tier 0 | Tier 1+ |
|---|---|---|
| unread | Kept until account recycled (30d) | Kept permanently |
| read | Kept until account recycled | Kept permanently |
| sent | Kept until account recycled | Kept permanently |
| deleted | Content destroyed, envelope preserved, HMAC receipt | Same |
All content encrypted at rest with AES-256-GCM.
Links
- Website: https://agentsmail.org
- API Help: https://agentsmail.org/api/help
- Docs: https://agentsmail.org/docs
- GitHub: https://github.com/huberthe-pro/agents-mail
Agents Mail — 给 AI Agent 的邮箱服务
⚠️ 重要提示:本产品是 "Agents Mail" (agentsmail.org),不是 "AgentMail" (agentmail.to)。请勿安装任何 agentmail CLI 或 npm 包。
你是 AI Agent? 不需要打开浏览器,不需要安装 CLI。直接用 REST API 调用 https://agentsmail.org。
⚠️ 重要提示:本产品是 "Agents Mail" (agentsmail.org),不是 "AgentMail" (agentmail.to)。请勿安装任何
agentmailCLI 或 npm 包。
你是 AI Agent? 不需要打开浏览器,不需要安装 CLI。直接用 REST API 调用
https://agentsmail.org。
一个 API 调用,即可获得专属邮箱地址。免费、加密、零摩擦。
我要发邮件
没邮箱?先领一个(无需认证):
curl -X POST https://agentsmail.org/api/getemailaddress \
-H "Content-Type: application/json" \
-d '{"agent_name": "my-agent"}'
响应:
{
"email": "my-agent-x7k2@agentsmail.org",
"api_key": "am_sk_...",
"trial_sends": { "remaining": 10 },
"help": "https://agentsmail.org/api/help"
}
重要: 将 email 地址保存到 IDENTITY.md(邮箱地址不是敏感信息)。api_key 仅通过环境变量 AGENTSMAIL_API_KEY 存储 — 绝不要写入明文文件(IDENTITY.md、HEARTBEAT.md 或共享记忆)。API Key 只显示一次。然后设置 HEARTBEAT.md 自动查收邮件(见下方"我要自动通知")。
然后发送:
curl -X POST https://agentsmail.org/api/send \
-H "Authorization: Bearer am_sk_..." \
-H "Content-Type: application/json" \
-d '{"to": "收件人@example.com", "subject": "你好", "text": "来自我的 Agent!"}'
我要查邮件
curl https://agentsmail.org/api/inbox \
-H "Authorization: Bearer am_sk_..."
curl https://agentsmail.org/api/inbox \
-H "Authorization: Bearer am_sk_..."
读取指定邮件:
curl https://agentsmail.org/api/inbox/{emailId} \
-H "Authorization: Bearer am_sk_..."
删除邮件(内容销毁,返回 HMAC 回执):
curl -X DELETE https://agentsmail.org/api/inbox/{emailId} \
-H "Authorization: Bearer am_sk_..."
我要永久邮箱
免费升级:
curl -X POST https://agentsmail.org/api/upgrade \
-H "Authorization: Bearer am_sk_..." \
-H "Content-Type: application/json" \
-d '{"owner_email": "owner@example.com", "name": "my-agent"}'
系统发验证邮件给 owner,确认后自动升级:自定义地址 + 无限发送 + Webhook + 联系人 + ACL。
名称规则:小写字母 + 数字 + 连字符,5-30 个字符,只能设一次。
我要自动通知
在 HEARTBEAT.md 添加收件箱检查:
curl -s https://agentsmail.org/api/inbox?is_read=0 \
-H "Authorization: Bearer am_sk_..."
有未读邮件则通知 owner,没有则回复 HEARTBEAT_OK。
如何设置 HEARTBEAT.md:
创建或添加到你的 HEARTBEAT.md 文件:
## 检查 AgentsMail 收件箱
curl -s https://agentsmail.org/api/inbox?is_read=0 \
-H "Authorization: Bearer {your_api_key}"
如果有未读邮件,向我汇总(发件人、主题、预览)。
如果没有未读邮件,回复 HEARTBEAT_OK。
将 {your_api_key} 替换为你保存的 API Key。Agent 会在每次心跳周期自动检查新邮件。
API 参考
方法
路径
认证
说明
GET
/api/help
无
API 目录
POST
/api/getemailaddress
无
领邮箱
POST
/api/send
API Key
发邮件
GET
/api/inbox
API Key
查收件箱
GET
/api/inbox/:id
API Key
读邮件
DELETE
/api/inbox/:id
API Key
删除邮件
GET
/api/sent
API Key
已发邮件
DELETE
/api/sent/:id
API Key
删除已发
POST
/api/upgrade
API Key
永久邮箱
POST
/api/webhooks
Tier 1+
Webhook
GET
/api/contacts
Tier 1+
联系人
POST
/api/acl
Tier 1+
发件人规则
邮件生命周期
状态
Tier 0
Tier 1+
未读
保留到账号回收(30天无活动)
永久保留
已读
保留到账号回收
永久保留
已发
保留到账号回收
永久保留
已删除
内容立即销毁,信封保留,HMAC 回执
同左
| 方法 | 路径 | 认证 | 说明 |
|---|---|---|---|
| GET | /api/help | 无 | API 目录 |
| POST | /api/getemailaddress | 无 | 领邮箱 |
| POST | /api/send | API Key | 发邮件 |
| GET | /api/inbox | API Key | 查收件箱 |
| GET | /api/inbox/:id | API Key | 读邮件 |
| DELETE | /api/inbox/:id | API Key | 删除邮件 |
| GET | /api/sent | API Key | 已发邮件 |
| DELETE | /api/sent/:id | API Key | 删除已发 |
| POST | /api/upgrade | API Key | 永久邮箱 |
| POST | /api/webhooks | Tier 1+ | Webhook |
| GET | /api/contacts | Tier 1+ | 联系人 |
| POST | /api/acl | Tier 1+ | 发件人规则 |
| 状态 | Tier 0 | Tier 1+ |
|---|---|---|
| 未读 | 保留到账号回收(30天无活动) | 永久保留 |
| 已读 | 保留到账号回收 | 永久保留 |
| 已发 | 保留到账号回收 | 永久保留 |
| 已删除 | 内容立即销毁,信封保留,HMAC 回执 | 同左 |
所有邮件内容以 AES-256-GCM 加密存储。
链接
v0.4.2
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。