{
  "schemaVersion": "1.0",
  "item": {
    "slug": "agentmail-cli",
    "name": "agentmail-cli",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/stepandel/agentmail-cli",
    "canonicalUrl": "https://clawhub.ai/stepandel/agentmail-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/agentmail-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=agentmail-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/agentmail-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/agentmail-cli",
    "agentPageUrl": "https://openagent3.xyz/skills/agentmail-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentmail-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentmail-cli/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "API Key Setup",
        "body": "The API key MUST be configured before any command will work. Two methods:\n\nConfig file (preferred for persistent agents):\n\nagentmail config set-key YOUR_API_KEY\n\nThis stores the key at ~/.agentmail/config.json and persists across sessions.\n\nEnvironment variable:\n\nexport AGENTMAIL_API_KEY=YOUR_API_KEY\n\nVerify configuration:\n\nagentmail config show\n\nIf commands fail with auth errors, re-run agentmail config set-key — the env var alone may not persist between shell sessions."
      },
      {
        "title": "Always Use --json",
        "body": "Always pass --json to every command for machine-readable output. Parse with jq when needed."
      },
      {
        "title": "Inbox Commands",
        "body": "Create an inbox:\n\nagentmail inbox create --json\nagentmail inbox create --domain example.com --json\nagentmail inbox create --username support --domain example.com --display-name \"Support Team\" --json\n\nList inboxes:\n\nagentmail inbox list --json\nagentmail inbox list --limit 10 --json\n\nGet inbox details:\n\nagentmail inbox get <inbox-id> --json\n\nDelete an inbox:\n\nagentmail inbox delete <inbox-id>"
      },
      {
        "title": "Message Commands",
        "body": "Send a message:\n\nagentmail message send --from <inbox-id> --to recipient@example.com --subject \"Subject\" --text \"Body text\" --json\n\nSend with HTML:\n\nagentmail message send --from <inbox-id> --to recipient@example.com --subject \"Subject\" --html \"<h1>Hello</h1>\" --json\n\nMultiple recipients, CC, BCC:\n\nagentmail message send --from <inbox-id> --to \"a@example.com,b@example.com\" --cc \"cc@example.com\" --bcc \"bcc@example.com\" --subject \"Subject\" --text \"Body\" --json\n\nList messages in an inbox:\n\nagentmail message list <inbox-id> --json\nagentmail message list <inbox-id> --limit 20 --json\n\nGet a specific message:\n\nagentmail message get <inbox-id> <message-id> --json\n\nDelete a message (deletes entire thread):\n\nagentmail message delete <inbox-id> <message-id>"
      },
      {
        "title": "Common Workflow",
        "body": "# 1. Create inbox, capture ID\nINBOX_ID=$(agentmail inbox create --json | jq -r '.inboxId')\n\n# 2. Send email\nagentmail message send --from \"$INBOX_ID\" --to user@example.com --subject \"Hello\" --text \"Message body\" --json\n\n# 3. Check for replies\nagentmail message list \"$INBOX_ID\" --json"
      },
      {
        "title": "Notes",
        "body": "Get an API key at https://agentmail.to\nConfig file location: ~/.agentmail/config.json\nEnv var AGENTMAIL_API_KEY takes precedence over config file\nDeleting a message deletes the entire thread containing it"
      }
    ],
    "body": "CLI for AgentMail — create inboxes, send messages, and read email.\n\nAPI Key Setup\n\nThe API key MUST be configured before any command will work. Two methods:\n\nConfig file (preferred for persistent agents):\nagentmail config set-key YOUR_API_KEY\n\n\nThis stores the key at ~/.agentmail/config.json and persists across sessions.\n\nEnvironment variable:\nexport AGENTMAIL_API_KEY=YOUR_API_KEY\n\n\nVerify configuration:\n\nagentmail config show\n\n\nIf commands fail with auth errors, re-run agentmail config set-key — the env var alone may not persist between shell sessions.\n\nAlways Use --json\n\nAlways pass --json to every command for machine-readable output. Parse with jq when needed.\n\nInbox Commands\n\nCreate an inbox:\n\nagentmail inbox create --json\nagentmail inbox create --domain example.com --json\nagentmail inbox create --username support --domain example.com --display-name \"Support Team\" --json\n\n\nList inboxes:\n\nagentmail inbox list --json\nagentmail inbox list --limit 10 --json\n\n\nGet inbox details:\n\nagentmail inbox get <inbox-id> --json\n\n\nDelete an inbox:\n\nagentmail inbox delete <inbox-id>\n\nMessage Commands\n\nSend a message:\n\nagentmail message send --from <inbox-id> --to recipient@example.com --subject \"Subject\" --text \"Body text\" --json\n\n\nSend with HTML:\n\nagentmail message send --from <inbox-id> --to recipient@example.com --subject \"Subject\" --html \"<h1>Hello</h1>\" --json\n\n\nMultiple recipients, CC, BCC:\n\nagentmail message send --from <inbox-id> --to \"a@example.com,b@example.com\" --cc \"cc@example.com\" --bcc \"bcc@example.com\" --subject \"Subject\" --text \"Body\" --json\n\n\nList messages in an inbox:\n\nagentmail message list <inbox-id> --json\nagentmail message list <inbox-id> --limit 20 --json\n\n\nGet a specific message:\n\nagentmail message get <inbox-id> <message-id> --json\n\n\nDelete a message (deletes entire thread):\n\nagentmail message delete <inbox-id> <message-id>\n\nCommon Workflow\n# 1. Create inbox, capture ID\nINBOX_ID=$(agentmail inbox create --json | jq -r '.inboxId')\n\n# 2. Send email\nagentmail message send --from \"$INBOX_ID\" --to user@example.com --subject \"Hello\" --text \"Message body\" --json\n\n# 3. Check for replies\nagentmail message list \"$INBOX_ID\" --json\n\nNotes\nGet an API key at https://agentmail.to\nConfig file location: ~/.agentmail/config.json\nEnv var AGENTMAIL_API_KEY takes precedence over config file\nDeleting a message deletes the entire thread containing it"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/stepandel/agentmail-cli",
    "publisherUrl": "https://clawhub.ai/stepandel/agentmail-cli",
    "owner": "stepandel",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/agentmail-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/agentmail-cli",
    "agentUrl": "https://openagent3.xyz/skills/agentmail-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/agentmail-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/agentmail-cli/agent.md"
  }
}