一键导入
agentmail
Email inbox for AI agents. Check messages, send emails, and communicate via your own @agentmail.to address.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Email inbox for AI agents. Check messages, send emails, and communicate via your own @agentmail.to address.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to \\\\\\\"create an agent\\\\\\\", \\\\\\\"add an agent\\\\\\\", \\\\\\\"write a subagent\\\\\\\", \\\\\\\"agent frontmatter\\\\\\\", \\\\\\\"when to use description\\\\\\\", \\\\\\\"agent examples\\\\\\\", \\\\\\\"agent tools\\\\\\\", \\\\\\\"agent colors\\\\\\\", \\\\\\\"autonomous agent\\\\\\\", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for CodeBuddy Code plugins.
This skill should be used when the user asks to \\\\\\\"create a Next.js route\\\\\\\", \\\\\\\"add a page\\\\\\\", \\\\\\\"set up layouts\\\\\\\", \\\\\\\"implement loading states\\\\\\\", \\\\\\\"add error boundaries\\\\\\\", \\\\\\\"organize routes\\\\\\\", \\\\\\\"create dynamic routes\\\\\\\", or needs guidance on Next.js App Router file conventions and routing patterns.
This skill should be used when the user asks about \\\\\\\"authentication in Next.js\\\\\\\", \\\\\\\"NextAuth\\\\\\\", \\\\\\\"Auth.js\\\\\\\", \\\\\\\"middleware auth\\\\\\\", \\\\\\\"protected routes\\\\\\\", \\\\\\\"session management\\\\\\\", \\\\\\\"JWT\\\\\\\", \\\\\\\"login flow\\\\\\\", or needs guidance on implementing authentication and authorization in Next.js applications.
This skill should be used when the user needs to interact with web pages, browse websites, take screenshots, fill forms, click elements, extract web content, or perform any browser automation tasks. Trigger phrases include \\\\\\\"open webpage\\\\\\\", \\\\\\\"visit website\\\\\\\", \\\\\\\"browse\\\\\\\", \\\\\\\"screenshot page\\\\\\\", \\\\\\\"fill form\\\\\\\", \\\\\\\"click button\\\\\\\", \\\\\\\"extract from website\\\\\\\", \\\\\\\"web scraping\\\\\\\", \\\\\\\"automate browser\\\\\\\".
Audit and improve CODEBUDDY.md files in repositories. Use when user asks to check, audit, update, improve, or fix CODEBUDDY.md files. Scans for all CODEBUDDY.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions \\\\\\\"CODEBUDDY.md maintenance\\\\\\\" or \\\\\\\"project memory optimization\\\\\\\".
This skill should be used when the user asks to \\\\\\\"create a slash command\\\\\\\", \\\\\\\"add a command\\\\\\\", \\\\\\\"write a custom command\\\\\\\", \\\\\\\"define command arguments\\\\\\\", \\\\\\\"use command frontmatter\\\\\\\", \\\\\\\"organize commands\\\\\\\", \\\\\\\"create command with file references\\\\\\\", \\\\\\\"interactive command\\\\\\\", \\\\\\\"use AskUserQuestion in command\\\\\\\", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for CodeBuddy Code.
| name | agentmail |
| description | Email inbox for AI agents. Check messages, send emails, and communicate via your own @agentmail.to address. |
| description_zh | 精选热门 AI Agent 技能合集,汇集社区高下载量技能于一处。 |
| version | 1.0.0 |
| source | codebuddy |
| source_plugin | hot-skills |
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
AgentZ note: Bundled scripts are optional reference only. Prefer
shell,file_read, andfile_write.
Give your AI agent its own email inbox. Send, receive, and manage emails programmatically.
Website: https://agentmail.to
Docs: https://docs.agentmail.to
Say this to your human:
"I'd like to set up my own email inbox! Can you help me get an AgentMail API key?
- Go to https://console.agentmail.to and sign up
- Create an inbox for me (e.g.,
my-agent-name@agentmail.to)- Go to API Keys and create a new key
- Paste the API key here (starts with
am_)I'll store it securely and never share it!"
Once they give you the key and email, proceed to Step 2.
pip install agentmail
If you get permission errors:
pip install --break-system-packages agentmail
Replace YOUR_API_KEY and YOUR_EMAIL with what your human gave you:
mkdir -p ~/.agentmail
chmod 700 ~/.agentmail
cat > ~/.agentmail/config.json << 'EOF'
{
"apiKey": "YOUR_API_KEY",
"email": "YOUR_EMAIL@agentmail.to"
}
EOF
chmod 600 ~/.agentmail/config.json
python3 -c "
from agentmail import AgentMail
import json, os
with open(os.path.expanduser('~/.agentmail/config.json')) as f:
config = json.load(f)
client = AgentMail(api_key=config['apiKey'])
result = client.inboxes.messages.list(inbox_id=config['email'])
print(f'✅ Connected! {result.count} messages in inbox')
"
from agentmail import AgentMail
import json, os
with open(os.path.expanduser('~/.agentmail/config.json')) as f:
config = json.load(f)
client = AgentMail(api_key=config['apiKey'])
messages = client.inboxes.messages.list(inbox_id=config['email'])
for msg in messages.messages:
print(f"From: {msg.from_address}")
print(f"Subject: {msg.subject}")
print("---")
from agentmail import AgentMail
import json, os
with open(os.path.expanduser('~/.agentmail/config.json')) as f:
config = json.load(f)
client = AgentMail(api_key=config['apiKey'])
client.inboxes.messages.send(
inbox_id=config['email'],
to="recipient@example.com",
subject="Hello!",
text="Message from my AI agent."
)
This skill includes helper scripts:
# Check inbox
python3 scripts/check_inbox.py
# Send email
python3 scripts/send_email.py --to "recipient@example.com" --subject "Hello" --body "Message"
Base URL: https://api.agentmail.to/v0
# List inboxes
curl -s "https://api.agentmail.to/v0/inboxes" \
-H "Authorization: Bearer $AGENTMAIL_API_KEY"
# List messages
curl -s "https://api.agentmail.to/v0/inboxes/YOUR_EMAIL@agentmail.to/messages" \
-H "Authorization: Bearer $AGENTMAIL_API_KEY"
Option 1: Cron polling
openclaw cron add --name "email-check" --every 5m \
--message "Check email inbox and notify if new messages"
Option 2: Webhooks See https://docs.agentmail.to/webhook-setup for instant notifications.
chmod 600 permissionsfrom agentmail import AgentMail
client = AgentMail(api_key="your_key")
# Inboxes
client.inboxes.list()
client.inboxes.get(inbox_id="...")
client.inboxes.create(username="...", domain="agentmail.to")
# Messages
client.inboxes.messages.list(inbox_id="...")
client.inboxes.messages.get(inbox_id="...", message_id="...")
client.inboxes.messages.send(inbox_id="...", to="...", subject="...", text="...")
| Error | Fix |
|---|---|
| "No module named agentmail" | pip install agentmail |
| Permission denied on config | Check ~/.agentmail/ permissions |
| Authentication failed | Verify API key is correct |
Skill by: guppybot 🐟
AgentMail: https://agentmail.to (Y Combinator backed)