本文へスキップ
Skillpedia
エージェント260k · #489

agentmail

できること

このスキルは、エージェントが自身のメールアドレスで送受信やスレッド化を行えるようにするサービスAgentMailを、エージェントが使う手助けをします。個人のメールボックスではなく、エージェント自身が持つメールを扱わせたい人のためのものです。

使う場面

  • ✓エージェントが送受信するための、独自のメールアドレスが必要なとき。
  • ✓1回限りのコードによるメール認証を完了させる必要があるとき。
  • ✓Webhookを通じて、受信メールをエージェントに届けたいとき。

スキルのリンク

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

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/email/agentmail/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“エージェント用の受信箱を作って、チームにテストメールを送り、それから返信を確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはagentmail-cliをインストールし、APIキーを使って、ターミナルのコマンドで受信箱の作成、メッセージの送信、返信の読み取りを行います。他のスクリプトがIDを必要とする場合はJSON出力を使います。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

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
よくある質問

私の個人のメールにアクセスしますか?

いいえ。AgentMailは、ユーザーの既存のIMAPやSMTPのメールボックスではなく、エージェントが所有する受信箱のためのものだと、スキルは述べています。

何をインストールする必要がありますか?

npmのagentmail-cliパッケージと、AGENTMAIL_API_KEY環境変数が必要です。

サインアップの方法はありますか?

はい。スキルには、メール認証を含むセルフサインアップのガイドがあります。

詳細

作者による元の説明

Use when an agent needs AgentMail CLI email inboxes.

repo: NousResearch/hermes-agent

人気

GitHubのスター
260k
ランキング
#489
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル