Skip to main content

agentmail

Use when an agent needs AgentMail CLI email inboxes.

설치로 이동

소스 정보

저장소
NousResearch/hermes-agent
최근 소스 활동
2026년 8월 27일 14:09
감지된 SKILL.md 언어
영어
스타
247,798
포크
52,199

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
6 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
agentmail
description
Use when an agent needs AgentMail CLI email inboxes.
version
1.0.0
author
Haakam Aujla (Haakam21), AgentMail
license
MIT
platforms
["linux","macos","windows"]
metadata
{"hermes":{"tags":["Email","CLI","AgentMail","Communication"],"homepage":"https://agentmail.to"}}
prerequisites
{"commands":["agentmail"]}
required_environment_variables
[{"name":"AGENTMAIL_API_KEY","prompt":"AgentMail API key (starts with am_)","help":"Create one at https://console.agentmail.to — or run the CLI self-signup flow in references/signup.md to obtain a key without one.","required_for":"authenticating the agentmail CLI; not needed before self-signup","optional":true}]
# 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: ```bash npm install -g agentmail-cli@latest ``` - Export an API key: ```bash 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. ```bash agentmail inboxes list --format json ``` ## Quick 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_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 ```bash agentmail inboxes list --format json ```
GitHub에서 보기