Chuyển đến nội dung
Skillpedia
Agent260k · #489

agentmail

Skill này làm gì

Skill giúp agent sử dụng AgentMail, dịch vụ cấp cho agent AI một địa chỉ email riêng để gửi, nhận và gom các thư theo chuỗi. Phù hợp với người muốn agent tự xử lý email của nó, không phải hộp thư cá nhân.

Khi nào nên dùng

  • ✓Khi một agent cần một địa chỉ email riêng để gửi và nhận thư.
  • ✓Khi một tác vụ yêu cầu hoàn tất mã xác minh email dùng một lần.
  • ✓Khi bạn muốn email đến được chuyển cho agent qua webhook.

Liên kết skill

https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/email/agentmail/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/email/agentmail/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tạo một hộp thư cho agent của tôi, gửi một email thử cho đội của tôi, rồi kiểm tra các thư trả lời.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent cài gói công cụ dòng lệnh agentmail, dùng khóa API của bạn, và chạy các lệnh terminal để tạo hộp thư, gửi thư và đọc thư trả lời. Agent dùng đầu ra JSON khi các script khác cần ID.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết 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 terminal tool.
  • 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.

How to Run

Use --format json whenever another command or script needs IDs.

agentmail inboxes list --format json

Quick Reference

Procedure

  1. Install agentmail-cli@latest and verify agentmail inboxes list --format json.
  2. If no API key is available, complete signup.md.
  3. Use core.md for inbox, send, read, reply, forward, label, thread, and attachment flows.
  4. Add webhooks.md or websockets.md only when polling is not enough.

Pitfalls

  • Prefer AGENTMAIL_API_KEY over --api-key.
  • Never expose AGENTMAIL_API_KEY in prompts, logs, URLs, or committed files.
  • Use stable client_id values for retried create operations.
  • Prefer extracted_text or extracted_html for LLM input when present.
  • React to message.received, not messages the agent sent.

Verification

agentmail inboxes list --format json
Câu hỏi thường gặp

Skill có truy cập email cá nhân của tôi không?

Không. Skill nói AgentMail dành cho hộp thư do agent sở hữu, không phải hộp thư IMAP hay SMTP hiện có của người dùng.

Tôi cần cài gì?

Gói agentmail-cli từ npm, và biến môi trường AGENTMAIL_API_KEY.

Có tùy chọn tự đăng ký không?

Có. Skill có hướng dẫn tự đăng ký kèm xác minh email.

Chi tiết

Mô tả gốc của tác giả

Use when an agent needs AgentMail CLI email inboxes.

repo: NousResearch/hermes-agent

Độ phổ biến

Sao GitHub
260k
Vị trí xếp hạng
#489
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự