agentmail – skill Marketing & SEO cho agent AI
Dùng khi agent cần hộp thư email AgentMail CLI.
Cài skill agentmail bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/agentmail-6b5e4.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /agentmail – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/agentmail-6b5e4.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $agentmail – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/agentmail-6b5e4.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /agentmail – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/agentmail-6b5e4.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /agentmail – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
AgentMail Skill
AgentMail gives an agent its own email inbox for sending mail, receiving
replies, completing email OTP flows, and running inbound email loops. Use it for
agent-owned inboxes, not a user's existing IMAP/SMTP mailbox.
Use the agentmail CLI first. Use MCP only when the harness expects MCP tools;
use REST only when the CLI is missing a required operation.
When to Use
- The agent needs an email address it owns.
- The task involves email OTP flows, replies, threads, labels, or attachments.
- The agent needs webhook or WebSocket delivery for inbound mail.
Prerequisites
- Run commands through the
terminaltool. - Install the CLI:
npm install -g agentmail-cli@latest- Export an API key:
export AGENTMAIL_API_KEY="am_..."No API key yet? Use [signup.md](references/signup.md).
How to Run
Use --format json whenever another command or script needs IDs.
agentmail inboxes list --format jsonQuick Reference
- [AgentMail agent reference](https://agentmail.md): hosted copy.
- [AgentMail](https://agentmail.to): product landing page.
- [Console](https://console.agentmail.to): API keys and account management.
- [Docs](https://docs.agentmail.to): full product documentation.
- [signup.md](references/signup.md): self-signup and OTP verification.
- [core.md](references/core.md): inboxes, messages, threads, labels, attachments.
- [webhooks.md](references/webhooks.md): events to a public HTTPS server.
- [websockets.md](references/websockets.md): events to a local agent process.
- [mcp.md](references/mcp.md): MCP integration.
Procedure
1. Install agentmail-cli@latest and verify agentmail inboxes list --format json.
2. If no API key is available, complete [signup.md](references/signup.md).
3. Use [core.md](references/core.md) for inbox, send, read, reply, forward,
label, thread, and attachment flows.
4. Add [webhooks.md](references/webhooks.md) or
[websockets.md](references/websockets.md) only when polling is not enough.
Pitfalls
- Prefer
AGENTMAIL_API_KEYover--api-key. - Never expose
AGENTMAIL_API_KEYin prompts, logs, URLs, or committed files. - Use stable
client_idvalues for retried create operations. - Prefer
extracted_textorextracted_htmlfor LLM input when present. - React to
message.received, not messages the agent sent.
Verification
agentmail inboxes list --format jsonSkill liên quan
- ai-seo – Khi người dùng muốn tối ưu nội dung cho công cụ tìm kiếm AI, được LLM trích dẫn, hoặc…
- ad-campaign-analyzer – Phân tích dữ liệu chiến dịch quảng cáo đa kênh, định lượng độ bất định và đề xuất các…
- ad-creative – Tạo, lặp lại và mở rộng creative quảng cáo trả phí cho Google Ads, Meta, LinkedIn…
- analytics – Khi người dùng muốn thiết lập, cải thiện hoặc kiểm toán tracking và đo lường analytics…
- advanced-analytics-dashboard – Sổ đăng ký chỉ số dashboard: chỉ số, module nguồn, công thức, kỳ, giá trị, mục tiêu, xu…
- attribution – Khi người dùng muốn xác định marketing nào thực sự tạo ra chuyển đổi và doanh thu, chọn…
- agentmail – Hạ tầng email cho AI agent. Tạo tài khoản, gửi/nhận email, quản lý webhook và kiểm tra…
- analytics-tracking – Thiết lập, kiểm tra và gỡ lỗi triển khai tracking phân tích — GA4, Google Tag Manager…