{
  "schemaVersion": "1.0",
  "item": {
    "slug": "email-163-com",
    "name": "email-163-com",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/newolf20000/email-163-com",
    "canonicalUrl": "https://clawhub.ai/newolf20000/email-163-com",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/email-163-com",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=email-163-com",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "DISTRIBUTION.md",
      "INSTALL.md",
      "PUBLIC-TEST-REPORT.md",
      "PUBLISH.md",
      "README-PACKAGE.md",
      "README.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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/email-163-com"
    },
    "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/email-163-com",
    "agentPageUrl": "https://openagent3.xyz/skills/email-163-com/agent",
    "manifestUrl": "https://openagent3.xyz/skills/email-163-com/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/email-163-com/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "email-163-com Skill",
        "body": "版本: 1.0.0\n创建日期: 2026-02-19\n作者: OpenClaw\n描述: 163 邮箱完整邮件管理工具（Python 实现）"
      },
      {
        "title": "核心功能",
        "body": "✅ 发送邮件 - 支持纯文本和 HTML 格式\n✅ 发送附件 - 支持单个或多个附件\n✅ 读取邮件 - 支持 IMAP ID 认证（163 邮箱要求）\n✅ 文件夹管理 - 列出、创建、删除文件夹\n✅ 邮件搜索 - 按发件人、主题、日期等搜索\n✅ 邮件操作 - 删除、移动、标记已读/未读\n✅ 附件管理 - 下载、查看附件\n✅ 配置管理 - 邮箱配置和账户管理"
      },
      {
        "title": "技术特点",
        "body": "✅ 支持 163 邮箱 IMAP ID 扩展（RFC 2971）\n✅ TLS/SSL 加密连接\n✅ 支持中文主题和发件人\n✅ 支持 HTML 邮件\n✅ 支持多附件发送\n✅ 命令行友好界面"
      },
      {
        "title": "1. 安装依赖",
        "body": "# Python 3.6+ 已包含所需库\n# 无需额外安装"
      },
      {
        "title": "2. 配置邮箱",
        "body": "编辑 ~/.config/email-163-com/config.json:\n\n{\n  \"email\": \"your_email@163.com\",\n  \"password\": \"your_auth_code\",\n  \"imap_server\": \"imap.163.com\",\n  \"imap_port\": 993,\n  \"smtp_server\": \"smtp.163.com\",\n  \"smtp_port\": 465\n}"
      },
      {
        "title": "3. 基本使用",
        "body": "# 查看帮助\nemail-163-com --help\n\n# 读取邮件\nemail-163-com read\n\n# 发送邮件\nemail-163-com send --to friend@example.com --subject \"Hello\" --body \"Hi!\"\n\n# 发送附件\nemail-163-com send --to friend@example.com --subject \"File\" --attach file.pdf\n\n# 列出文件夹\nemail-163-com folders"
      },
      {
        "title": "发送邮件",
        "body": "# 简单发送\nemail-163-com send --to <email> --subject <subject> --body <body>\n\n# 发送 HTML 邮件\nemail-163-com send --to <email> --subject <subject> --html \"<h1>Hello</h1>\"\n\n# 发送附件\nemail-163-com send --to <email> --subject <subject> --attach file1.pdf --attach file2.txt\n\n# 从文件读取正文\nemail-163-com send --to <email> --subject <subject> --file message.txt"
      },
      {
        "title": "读取邮件",
        "body": "# 读取最新 5 封\nemail-163-com read\n\n# 读取指定数量\nemail-163-com read --count 10\n\n# 读取指定文件夹\nemail-163-com read --folder \"已发送\" --count 5\n\n# 读取完整邮件（含正文）\nemail-163-com read --id 123 --full"
      },
      {
        "title": "文件夹管理",
        "body": "# 列出所有文件夹\nemail-163-com folders\n\n# 创建文件夹\nemail-163-com folder create \"MyFolder\"\n\n# 删除文件夹\nemail-163-com folder delete \"MyFolder\""
      },
      {
        "title": "邮件搜索",
        "body": "# 按发件人搜索\nemail-163-com search --from \"Cloudflare\"\n\n# 按主题搜索\nemail-163-com search --subject \"verify\"\n\n# 组合搜索\nemail-163-com search --from \"阿里云\" --subject \"通知\" --count 10"
      },
      {
        "title": "邮件操作",
        "body": "# 删除邮件\nemail-163-com delete --id 123\n\n# 移动邮件\nemail-163-com move --id 123 --to \"已删除\"\n\n# 标记已读\nemail-163-com flag --id 123 --set seen\n\n# 标记未读\nemail-163-com flag --id 123 --unset seen"
      },
      {
        "title": "附件管理",
        "body": "# 列出邮件附件\nemail-163-com attachments --id 123\n\n# 下载附件\nemail-163-com attachments --id 123 --download --output ~/Downloads/"
      },
      {
        "title": "位置",
        "body": "~/.config/email-163-com/config.json"
      },
      {
        "title": "格式",
        "body": "{\n  \"email\": \"newolf20000@163.com\",\n  \"password\": \"KZtfcUWCKGNFf9M9\",\n  \"imap_server\": \"imap.163.com\",\n  \"imap_port\": 993,\n  \"smtp_server\": \"smtp.163.com\",\n  \"smtp_port\": 465,\n  \"imap_id\": {\n    \"name\": \"OpenClaw\",\n    \"version\": \"1.0.0\",\n    \"vendor\": \"email-163-com\",\n    \"support_email\": \"newolf20000@163.com\"\n  },\n  \"defaults\": {\n    \"folder\": \"INBOX\",\n    \"count\": 5,\n    \"output_dir\": \"~/Downloads\"\n  }\n}"
      },
      {
        "title": "示例 1: 发送日常工作邮件",
        "body": "email-163-com send \\\n  --to colleague@example.com \\\n  --subject \"项目进度更新\" \\\n  --file report.txt \\\n  --attach progress.pdf"
      },
      {
        "title": "示例 2: 查看未读邮件",
        "body": "email-163-com read --count 10 --unread"
      },
      {
        "title": "示例 3: 搜索特定邮件",
        "body": "email-163-com search \\\n  --from \"Cloudflare\" \\\n  --subject \"verify\" \\\n  --count 5"
      },
      {
        "title": "示例 4: 清理垃圾邮件",
        "body": "email-163-com search --folder \"垃圾邮件\" --count 100\nemail-163-com delete --folder \"垃圾邮件\" --all"
      },
      {
        "title": "读取邮件",
        "body": "📬 INBOX: 16 messages total\n\n📧 From: 阿里云\n   Subject: 域名信息修改成功通知\n   Date: Wed, 18 Feb 2026 22:00:53\n   ID: 16\n   Flags: \\Seen\n--------------------------------------------------\n\n📧 From: \"Cloudflare\" <noreply@notify.cloudflare.com>\n   Subject: [Action required] Verify your email address\n   Date: Wed, 18 Feb 2026 14:17:02\n   ID: 15\n   Flags: \n--------------------------------------------------"
      },
      {
        "title": "发送邮件",
        "body": "✅ Message sent successfully!\n   To: friend@example.com\n   Subject: Hello\n   Attachments: file.pdf (1.2 MB)"
      },
      {
        "title": "授权码",
        "body": "不要使用邮箱登录密码\n使用 163 邮箱的\"客户端授权码\"\n获取方式：登录网页版 → 设置 → POP3/SMTP/IMAP"
      },
      {
        "title": "配置文件权限",
        "body": "# 设置配置文件权限（仅自己可读）\nchmod 600 ~/.config/email-163-com/config.json"
      },
      {
        "title": "环境变量（可选）",
        "body": "也可以使用环境变量代替配置文件：\n\nexport EMAIL_163_USER=\"newolf20000@163.com\"\nexport EMAIL_163_PASS=\"KZtfcUWCKGNFf9M9\""
      },
      {
        "title": "问题 1: IMAP 连接失败",
        "body": "Error: SELECT Unsafe Login\n\n解决: 确保配置了 IMAP ID 信息（默认已配置）"
      },
      {
        "title": "问题 2: 认证失败",
        "body": "Error: LOGIN failed\n\n解决: 检查授权码是否正确（不是登录密码）"
      },
      {
        "title": "问题 3: 附件发送失败",
        "body": "Error: Cannot attach file\n\n解决: 检查文件路径是否正确，文件是否可读"
      },
      {
        "title": "📚 技术参考",
        "body": "RFC 2971: IMAP4 ID extension\nRFC 3501: IMAP4rev1\nRFC 5322: Internet Message Format\n163 邮箱帮助: https://help.mail.163.com/"
      },
      {
        "title": "v1.0.0 (2026-02-19)",
        "body": "✅ 初始版本\n✅ 支持发送邮件（文本/HTML）\n✅ 支持发送附件\n✅ 支持读取邮件（IMAP ID）\n✅ 支持文件夹管理\n✅ 支持邮件搜索\n✅ 支持邮件操作（删除/移动/标记）\n✅ 支持附件下载"
      },
      {
        "title": "📞 支持",
        "body": "文档: ~/.openclaw/workspace/skills/email-163-com/README.md\n配置: ~/.config/email-163-com/config.json\n脚本: ~/.openclaw/workspace/skills/email-163-com/email.py\n\n首次发布: 2026-02-19\n维护者: OpenClaw Team"
      }
    ],
    "body": "email-163-com Skill\n\n版本: 1.0.0\n创建日期: 2026-02-19\n作者: OpenClaw\n描述: 163 邮箱完整邮件管理工具（Python 实现）\n\n📧 功能特性\n核心功能\n✅ 发送邮件 - 支持纯文本和 HTML 格式\n✅ 发送附件 - 支持单个或多个附件\n✅ 读取邮件 - 支持 IMAP ID 认证（163 邮箱要求）\n✅ 文件夹管理 - 列出、创建、删除文件夹\n✅ 邮件搜索 - 按发件人、主题、日期等搜索\n✅ 邮件操作 - 删除、移动、标记已读/未读\n✅ 附件管理 - 下载、查看附件\n✅ 配置管理 - 邮箱配置和账户管理\n技术特点\n✅ 支持 163 邮箱 IMAP ID 扩展（RFC 2971）\n✅ TLS/SSL 加密连接\n✅ 支持中文主题和发件人\n✅ 支持 HTML 邮件\n✅ 支持多附件发送\n✅ 命令行友好界面\n🚀 快速开始\n1. 安装依赖\n# Python 3.6+ 已包含所需库\n# 无需额外安装\n\n2. 配置邮箱\n\n编辑 ~/.config/email-163-com/config.json:\n\n{\n  \"email\": \"your_email@163.com\",\n  \"password\": \"your_auth_code\",\n  \"imap_server\": \"imap.163.com\",\n  \"imap_port\": 993,\n  \"smtp_server\": \"smtp.163.com\",\n  \"smtp_port\": 465\n}\n\n3. 基本使用\n# 查看帮助\nemail-163-com --help\n\n# 读取邮件\nemail-163-com read\n\n# 发送邮件\nemail-163-com send --to friend@example.com --subject \"Hello\" --body \"Hi!\"\n\n# 发送附件\nemail-163-com send --to friend@example.com --subject \"File\" --attach file.pdf\n\n# 列出文件夹\nemail-163-com folders\n\n📖 命令参考\n发送邮件\n# 简单发送\nemail-163-com send --to <email> --subject <subject> --body <body>\n\n# 发送 HTML 邮件\nemail-163-com send --to <email> --subject <subject> --html \"<h1>Hello</h1>\"\n\n# 发送附件\nemail-163-com send --to <email> --subject <subject> --attach file1.pdf --attach file2.txt\n\n# 从文件读取正文\nemail-163-com send --to <email> --subject <subject> --file message.txt\n\n读取邮件\n# 读取最新 5 封\nemail-163-com read\n\n# 读取指定数量\nemail-163-com read --count 10\n\n# 读取指定文件夹\nemail-163-com read --folder \"已发送\" --count 5\n\n# 读取完整邮件（含正文）\nemail-163-com read --id 123 --full\n\n文件夹管理\n# 列出所有文件夹\nemail-163-com folders\n\n# 创建文件夹\nemail-163-com folder create \"MyFolder\"\n\n# 删除文件夹\nemail-163-com folder delete \"MyFolder\"\n\n邮件搜索\n# 按发件人搜索\nemail-163-com search --from \"Cloudflare\"\n\n# 按主题搜索\nemail-163-com search --subject \"verify\"\n\n# 组合搜索\nemail-163-com search --from \"阿里云\" --subject \"通知\" --count 10\n\n邮件操作\n# 删除邮件\nemail-163-com delete --id 123\n\n# 移动邮件\nemail-163-com move --id 123 --to \"已删除\"\n\n# 标记已读\nemail-163-com flag --id 123 --set seen\n\n# 标记未读\nemail-163-com flag --id 123 --unset seen\n\n附件管理\n# 列出邮件附件\nemail-163-com attachments --id 123\n\n# 下载附件\nemail-163-com attachments --id 123 --download --output ~/Downloads/\n\n🔧 配置文件\n位置\n\n~/.config/email-163-com/config.json\n\n格式\n{\n  \"email\": \"newolf20000@163.com\",\n  \"password\": \"KZtfcUWCKGNFf9M9\",\n  \"imap_server\": \"imap.163.com\",\n  \"imap_port\": 993,\n  \"smtp_server\": \"smtp.163.com\",\n  \"smtp_port\": 465,\n  \"imap_id\": {\n    \"name\": \"OpenClaw\",\n    \"version\": \"1.0.0\",\n    \"vendor\": \"email-163-com\",\n    \"support_email\": \"newolf20000@163.com\"\n  },\n  \"defaults\": {\n    \"folder\": \"INBOX\",\n    \"count\": 5,\n    \"output_dir\": \"~/Downloads\"\n  }\n}\n\n💡 使用示例\n示例 1: 发送日常工作邮件\nemail-163-com send \\\n  --to colleague@example.com \\\n  --subject \"项目进度更新\" \\\n  --file report.txt \\\n  --attach progress.pdf\n\n示例 2: 查看未读邮件\nemail-163-com read --count 10 --unread\n\n示例 3: 搜索特定邮件\nemail-163-com search \\\n  --from \"Cloudflare\" \\\n  --subject \"verify\" \\\n  --count 5\n\n示例 4: 清理垃圾邮件\nemail-163-com search --folder \"垃圾邮件\" --count 100\nemail-163-com delete --folder \"垃圾邮件\" --all\n\n📋 输出格式\n读取邮件\n📬 INBOX: 16 messages total\n\n📧 From: 阿里云\n   Subject: 域名信息修改成功通知\n   Date: Wed, 18 Feb 2026 22:00:53\n   ID: 16\n   Flags: \\Seen\n--------------------------------------------------\n\n📧 From: \"Cloudflare\" <noreply@notify.cloudflare.com>\n   Subject: [Action required] Verify your email address\n   Date: Wed, 18 Feb 2026 14:17:02\n   ID: 15\n   Flags: \n--------------------------------------------------\n\n发送邮件\n✅ Message sent successfully!\n   To: friend@example.com\n   Subject: Hello\n   Attachments: file.pdf (1.2 MB)\n\n🔐 安全说明\n授权码\n不要使用邮箱登录密码\n使用 163 邮箱的\"客户端授权码\"\n获取方式：登录网页版 → 设置 → POP3/SMTP/IMAP\n配置文件权限\n# 设置配置文件权限（仅自己可读）\nchmod 600 ~/.config/email-163-com/config.json\n\n环境变量（可选）\n\n也可以使用环境变量代替配置文件：\n\nexport EMAIL_163_USER=\"newolf20000@163.com\"\nexport EMAIL_163_PASS=\"KZtfcUWCKGNFf9M9\"\n\n🐛 故障排查\n问题 1: IMAP 连接失败\nError: SELECT Unsafe Login\n\n\n解决: 确保配置了 IMAP ID 信息（默认已配置）\n\n问题 2: 认证失败\nError: LOGIN failed\n\n\n解决: 检查授权码是否正确（不是登录密码）\n\n问题 3: 附件发送失败\nError: Cannot attach file\n\n\n解决: 检查文件路径是否正确，文件是否可读\n\n📚 技术参考\nRFC 2971: IMAP4 ID extension\nRFC 3501: IMAP4rev1\nRFC 5322: Internet Message Format\n163 邮箱帮助: https://help.mail.163.com/\n🔄 更新日志\nv1.0.0 (2026-02-19)\n✅ 初始版本\n✅ 支持发送邮件（文本/HTML）\n✅ 支持发送附件\n✅ 支持读取邮件（IMAP ID）\n✅ 支持文件夹管理\n✅ 支持邮件搜索\n✅ 支持邮件操作（删除/移动/标记）\n✅ 支持附件下载\n📞 支持\n文档: ~/.openclaw/workspace/skills/email-163-com/README.md\n配置: ~/.config/email-163-com/config.json\n脚本: ~/.openclaw/workspace/skills/email-163-com/email.py\n\n首次发布: 2026-02-19\n维护者: OpenClaw Team"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/newolf20000/email-163-com",
    "publisherUrl": "https://clawhub.ai/newolf20000/email-163-com",
    "owner": "newolf20000",
    "version": "1.0.3",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/email-163-com",
    "downloadUrl": "https://openagent3.xyz/downloads/email-163-com",
    "agentUrl": "https://openagent3.xyz/skills/email-163-com/agent",
    "manifestUrl": "https://openagent3.xyz/skills/email-163-com/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/email-163-com/agent.md"
  }
}