jpskill.com
💬 コミュニケーション コミュニティ 🟢 非エンジニアでもOK 👤 管理職・人事・カスタマー対応

💬 Agentmail

agentmail

AIエージェントに専用のメールアドレスと受信

⏱ メール返信10件 30分 → 3分

📺 まず動画で見る(YouTube)

▶ 【最新版】Claude(クロード)完全解説!20以上の便利機能をこの動画1本で全て解説 ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Give the agent its own dedicated email inbox via AgentMail. Send, receive, and manage email autonomously using agent-owned email addresses (e.g. hermes-agent@agentmail.to).

🇯🇵 日本人クリエイター向け解説

一言でいうと

AIエージェントに専用のメールアドレスと受信

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o agentmail.zip https://jpskill.com/download/1103.zip && unzip -o agentmail.zip && rm agentmail.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/1103.zip -OutFile "$d\agentmail.zip"; Expand-Archive "$d\agentmail.zip" -DestinationPath $d -Force; ri "$d\agentmail.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して agentmail.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → agentmail フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Agentmail で、お客様への返信文を作って
  • Agentmail を使って、社内向けアナウンスを書いて
  • Agentmail で、メールテンプレートを整備して

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

[Skill 名] agentmail

AgentMail — エージェントが所有するメール受信トレイ

要件

  • AgentMail API キー (必須) — https://console.agentmail.to でサインアップしてください (無料プラン: 3つの受信トレイ、月3,000通のメール; 有料プランは月額20ドルから)
  • Node.js 18+ (MCP サーバー用)

使用する場面

このスキルは、次のような場合に必要となります。

  • エージェントに専用のメールアドレスを与える
  • エージェントに代わって自律的にメールを送信する
  • 受信メールを受信して読む
  • メールスレッドと会話を管理する
  • サービスにサインアップしたり、メールで認証したりする
  • 他のエージェントや人間とメールでコミュニケーションをとる

これは、ユーザーの個人メールを読むためのものではありません (その場合は himalaya または Gmail を使用してください)。 AgentMail は、エージェントに独自のIDと受信トレイを提供します。

セットアップ

1. API キーを取得する

2. MCP サーバーを設定する

~/.hermes/config.yaml に追加します (実際のキーを貼り付けてください — MCP 環境変数は .env から展開されません):

mcp_servers:
  agentmail:
    command: "npx"
    args: ["-y", "agentmail-mcp"]
    env:
      AGENTMAIL_API_KEY: "am_your_key_here"

3. Hermes を再起動する

hermes

これで、AgentMail のすべての11個のツールが自動的に利用可能になります。

利用可能なツール (MCP 経由)

ツール 説明
list_inboxes すべてのエージェント受信トレイを一覧表示する
get_inbox 特定の受信トレイの詳細を取得する
create_inbox 新しい受信トレイを作成する (実際のメールアドレスを取得します)
delete_inbox 受信トレイを削除する
list_threads 受信トレイ内のメールスレッドを一覧表示する
get_thread 特定のメールスレッドを取得する
send_message 新しいメールを送信する
reply_to_message 既存のメールに返信する
forward_message メールを転送する
update_message メッセージのラベル/ステータスを更新する
get_attachment メール添付ファイルをダウンロードする

手順

受信トレイを作成してメールを送信する

  1. 専用の受信トレイを作成します。
    • ユーザー名 (例: hermes-agent) を指定して create_inbox を使用します
    • エージェントは hermes-agent@agentmail.to というアドレスを取得します
  2. メールを送信します。
    • inbox_idtosubjecttext を指定して send_message を使用します
  3. 返信を確認します。
    • list_threads を使用して受信会話を確認します
    • get_thread を使用して特定の会話を読みます

受信メールを確認する

  1. list_inboxes を使用して受信トレイIDを見つけます
  2. 受信トレイIDを指定して list_threads を使用し、会話を確認します
  3. get_thread を使用してスレッドとそのメッセージを読みます

メールに返信する

  1. get_thread でスレッドを取得します
  2. メッセージIDと返信テキストを指定して reply_to_message を使用します

ワークフローの例

サービスにサインアップする:

1. create_inbox (username: "signup-bot")
2. 受信トレイのアドレスを使用してサービスに登録する
3. list_threads で確認メールをチェックする
4. get_thread で確認コードを読み取る

エージェントから人間へのアウトリーチ:

1. create_inbox (username: "hermes-outreach")
2. send_message (to: user@example.com, subject: "Hello", text: "...")
3. list_threads で返信をチェックする

落とし穴

  • 無料プランは3つの受信トレイと月3,000通のメールに制限されています
  • 無料プランではメールは @agentmail.to ドメインから送信されます (有料プランではカスタムドメイン)
  • Node.js (18+) が MCP サーバー (npx -y agentmail-mcp) に必要です
  • mcp Python パッケージがインストールされている必要があります: pip install mcp
  • リアルタイムの受信メール (Webhook) には公開サーバーが必要です — 個人使用の場合は、代わりに cronjob を介した list_threads ポーリングを使用してください

検証

セットアップ後、以下でテストしてください。

hermes --toolsets mcp -q "test-agentというAgentMail受信トレイを作成し、そのメールアドレスを教えてください"

新しい受信トレイのアドレスが返されるはずです。

参考文献

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

AgentMail — Agent-Owned Email Inboxes

Requirements

  • AgentMail API key (required) — sign up at https://console.agentmail.to (free tier: 3 inboxes, 3,000 emails/month; paid plans from $20/mo)
  • Node.js 18+ (for the MCP server)

When to Use

Use this skill when you need to:

  • Give the agent its own dedicated email address
  • Send emails autonomously on behalf of the agent
  • Receive and read incoming emails
  • Manage email threads and conversations
  • Sign up for services or authenticate via email
  • Communicate with other agents or humans via email

This is NOT for reading the user's personal email (use himalaya or Gmail for that). AgentMail gives the agent its own identity and inbox.

Setup

1. Get an API Key

2. Configure MCP Server

Add to ~/.hermes/config.yaml (paste your actual key — MCP env vars are not expanded from .env):

mcp_servers:
  agentmail:
    command: "npx"
    args: ["-y", "agentmail-mcp"]
    env:
      AGENTMAIL_API_KEY: "am_your_key_here"

3. Restart Hermes

hermes

All 11 AgentMail tools are now available automatically.

Available Tools (via MCP)

Tool Description
list_inboxes List all agent inboxes
get_inbox Get details of a specific inbox
create_inbox Create a new inbox (gets a real email address)
delete_inbox Delete an inbox
list_threads List email threads in an inbox
get_thread Get a specific email thread
send_message Send a new email
reply_to_message Reply to an existing email
forward_message Forward an email
update_message Update message labels/status
get_attachment Download an email attachment

Procedure

Create an inbox and send an email

  1. Create a dedicated inbox:
    • Use create_inbox with a username (e.g. hermes-agent)
    • The agent gets address: hermes-agent@agentmail.to
  2. Send an email:
    • Use send_message with inbox_id, to, subject, text
  3. Check for replies:
    • Use list_threads to see incoming conversations
    • Use get_thread to read a specific thread

Check incoming email

  1. Use list_inboxes to find your inbox ID
  2. Use list_threads with the inbox ID to see conversations
  3. Use get_thread to read a thread and its messages

Reply to an email

  1. Get the thread with get_thread
  2. Use reply_to_message with the message ID and your reply text

Example Workflows

Sign up for a service:

1. create_inbox (username: "signup-bot")
2. Use the inbox address to register on the service
3. list_threads to check for verification email
4. get_thread to read the verification code

Agent-to-human outreach:

1. create_inbox (username: "hermes-outreach")
2. send_message (to: user@example.com, subject: "Hello", text: "...")
3. list_threads to check for replies

Pitfalls

  • Free tier limited to 3 inboxes and 3,000 emails/month
  • Emails come from @agentmail.to domain on free tier (custom domains on paid plans)
  • Node.js (18+) is required for the MCP server (npx -y agentmail-mcp)
  • The mcp Python package must be installed: pip install mcp
  • Real-time inbound email (webhooks) requires a public server — use list_threads polling via cronjob instead for personal use

Verification

After setup, test with:

hermes --toolsets mcp -q "Create an AgentMail inbox called test-agent and tell me its email address"

You should see the new inbox address returned.

References