{
  "schemaVersion": "1.0",
  "item": {
    "slug": "email-daily-summary",
    "name": "Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/10e9928a/email-daily-summary",
    "canonicalUrl": "https://clawhub.ai/10e9928a/email-daily-summary",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/email-daily-summary",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=email-daily-summary",
    "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-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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-daily-summary"
    },
    "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-daily-summary",
    "agentPageUrl": "https://openagent3.xyz/skills/email-daily-summary/agent",
    "manifestUrl": "https://openagent3.xyz/skills/email-daily-summary/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/email-daily-summary/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": "Email Daily Summary Skill",
        "body": "这个技能帮助你自动登录邮箱，获取邮件内容，并生成每日邮件总结。"
      },
      {
        "title": "功能特性",
        "body": "🔐 支持多种邮箱登录（Gmail、Outlook、QQ 邮箱、163 邮箱等）\n📧 自动获取最新邮件列表\n📝 智能生成邮件摘要\n🏷️ 按重要性/发件人/主题分类\n📊 生成每日邮件统计报告"
      },
      {
        "title": "前置要求",
        "body": "安装 browser-use CLI：\n\nuv pip install browser-use[cli]\nbrowser-use install\n\n确保已在浏览器中登录过邮箱（使用 real 模式可直接复用登录状态）"
      },
      {
        "title": "方式一：使用已登录的浏览器（推荐）",
        "body": "使用 --browser real 模式可以复用你 Chrome 浏览器中已登录的邮箱会话：\n\n# Gmail\nbrowser-use --browser real open https://mail.google.com\n\n# Outlook\nbrowser-use --browser real open https://outlook.live.com\n\n# QQ 邮箱\nbrowser-use --browser real open https://mail.qq.com\n\n# 163 邮箱\nbrowser-use --browser real open https://mail.163.com"
      },
      {
        "title": "方式二：手动登录流程",
        "body": "如果需要手动登录，使用 --headed 模式查看操作过程：\n\n# 打开邮箱登录页面（以 Gmail 为例）\nbrowser-use --headed open https://accounts.google.com\n\n# 查看页面元素\nbrowser-use state\n\n# 输入邮箱地址（根据 state 返回的索引）\nbrowser-use input <email_input_index> \"your-email@gmail.com\"\nbrowser-use click <next_button_index>\n\n# 输入密码\nbrowser-use input <password_input_index> \"your-password\"\nbrowser-use click <login_button_index>\n\n# 跳转到邮箱\nbrowser-use open https://mail.google.com"
      },
      {
        "title": "获取邮件列表",
        "body": "登录成功后，获取邮件列表：\n\n# 获取当前页面状态，查看邮件列表\nbrowser-use state\n\n# 截图保存当前邮件列表\nbrowser-use screenshot emails_$(date +%Y%m%d).png\n\n# 使用 JavaScript 提取邮件信息（Gmail 示例）\nbrowser-use eval \"\n  const emails = [];\n  document.querySelectorAll('tr.zA').forEach((row, i) => {\n    if (i < 20) {\n      const sender = row.querySelector('.yX.xY span')?.innerText || '';\n      const subject = row.querySelector('.y6 span')?.innerText || '';\n      const snippet = row.querySelector('.y2')?.innerText || '';\n      const time = row.querySelector('.xW.xY span')?.innerText || '';\n      emails.push({ sender, subject, snippet, time });\n    }\n  });\n  JSON.stringify(emails, null, 2);\n\""
      },
      {
        "title": "使用 Python 生成邮件总结",
        "body": "# 初始化邮件数据收集\nbrowser-use python \"\nemails_data = []\nsummary_date = '$(date +%Y-%m-%d)'\n\"\n\n# 滚动页面加载更多邮件\nbrowser-use python \"\nfor i in range(3):\n    browser.scroll('down')\n    import time\n    time.sleep(1)\n\"\n\n# 提取邮件数据（需要根据实际邮箱 DOM 结构调整）\nbrowser-use python \"\nimport json\n\n# 获取页面 HTML 进行解析\nhtml = browser.html\n\n# 这里需要根据具体邮箱服务解析 HTML\n# 示例：统计基本信息\nprint(f'=== 邮件日报 {summary_date} ===')\nprint(f'页面 URL: {browser.url}')\nprint(f'页面标题: {browser.title}')\n\"\n\n# 截图保存\nbrowser-use python \"\nbrowser.screenshot(f'email_summary_{summary_date}.png')\nprint(f'截图已保存: email_summary_{summary_date}.png')\n\""
      },
      {
        "title": "完整的每日邮件总结脚本",
        "body": "创建一个完整的总结流程：\n\n#!/bin/bash\n# email_daily_summary.sh\n\nDATE=$(date +%Y-%m-%d)\nTIME=$(date +%H:%M:%S)\nOUTPUT_DIR=\"./email_summaries\"\nmkdir -p \"$OUTPUT_DIR\"\n\necho \"==========================================\"\necho \"📧 邮件日报生成中...\"\necho \"日期: $DATE $TIME\"\necho \"==========================================\"\n\n# 1. 打开邮箱（使用已登录的浏览器）\nbrowser-use --browser real open https://mail.google.com\n\n# 2. 等待页面加载\nsleep 3\n\n# 3. 获取页面状态\necho \"\"\necho \"📋 当前邮箱状态:\"\nbrowser-use state\n\n# 4. 截图保存邮件列表\necho \"\"\necho \"📸 保存截图...\"\nbrowser-use screenshot \"$OUTPUT_DIR/inbox_$DATE.png\"\n\n# 5. 提取邮件数据\necho \"\"\necho \"📊 邮件统计:\"\nbrowser-use eval \"\n(() => {\n  const unreadCount = document.querySelectorAll('.zE').length;\n  const totalVisible = document.querySelectorAll('tr.zA').length;\n  return JSON.stringify({\n    unread: unreadCount,\n    visible: totalVisible,\n    timestamp: new Date().toISOString()\n  });\n})()\n\"\n\n# 6. 关闭浏览器\necho \"\"\necho \"✅ 完成！截图保存至: $OUTPUT_DIR/inbox_$DATE.png\"\nbrowser-use close"
      },
      {
        "title": "支持的邮箱服务",
        "body": "邮箱服务登录 URL收件箱 URLGmailhttps://accounts.google.comhttps://mail.google.comOutlookhttps://login.live.comhttps://outlook.live.comQQ 邮箱https://mail.qq.comhttps://mail.qq.com163 邮箱https://mail.163.comhttps://mail.163.com126 邮箱https://mail.126.comhttps://mail.126.com企业微信邮箱https://exmail.qq.comhttps://exmail.qq.com"
      },
      {
        "title": "生成 AI 邮件摘要",
        "body": "如果配置了 API Key，可以使用 AI 自动生成邮件摘要：\n\n# 使用 AI 提取邮件摘要（需要 BROWSER_USE_API_KEY）\nbrowser-use --browser real open https://mail.google.com\nbrowser-use extract \"提取前 10 封邮件的发件人、主题和摘要，按重要性排序\""
      },
      {
        "title": "macOS/Linux (crontab)",
        "body": "# 编辑 crontab\ncrontab -e\n\n# 添加每日早上 9 点执行的任务\n0 9 * * * /path/to/email_daily_summary.sh >> /path/to/logs/email_summary.log 2>&1"
      },
      {
        "title": "macOS (launchd)",
        "body": "创建 ~/Library/LaunchAgents/com.email.dailysummary.plist：\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n    <key>Label</key>\n    <string>com.email.dailysummary</string>\n    <key>ProgramArguments</key>\n    <array>\n        <string>/bin/bash</string>\n        <string>/path/to/email_daily_summary.sh</string>\n    </array>\n    <key>StartCalendarInterval</key>\n    <dict>\n        <key>Hour</key>\n        <integer>9</integer>\n        <key>Minute</key>\n        <integer>0</integer>\n    </dict>\n    <key>StandardOutPath</key>\n    <string>/tmp/email_summary.log</string>\n    <key>StandardErrorPath</key>\n    <string>/tmp/email_summary_error.log</string>\n</dict>\n</plist>\n\n加载任务：\n\nlaunchctl load ~/Library/LaunchAgents/com.email.dailysummary.plist"
      },
      {
        "title": "输出示例",
        "body": "生成的邮件总结报告格式：\n\n==========================================\n📧 邮件日报 - 2026-01-30\n==========================================\n\n📊 统计概览:\n- 未读邮件: 12 封\n- 今日新邮件: 28 封\n- 重要邮件: 5 封\n\n🔴 重要邮件:\n1. [工作] 来自 boss@company.com\n   主题: 项目进度汇报 - 紧急\n   时间: 09:30\n\n2. [财务] 来自 finance@bank.com\n   主题: 账单提醒\n   时间: 08:15\n\n📬 今日邮件分类:\n- 工作相关: 15 封\n- 订阅通知: 8 封\n- 社交媒体: 3 封\n- 其他: 2 封\n\n💡 建议操作:\n- 回复 boss@company.com 的邮件\n- 处理 3 封需要审批的邮件\n\n=========================================="
      },
      {
        "title": "安全提示",
        "body": "⚠️ 重要安全建议：\n\n不要在脚本中明文保存密码，优先使用 --browser real 模式复用已登录会话\n敏感信息使用环境变量存储\n定期检查授权应用，移除不需要的第三方访问\n启用两步验证保护邮箱安全\n日志文件不要包含敏感信息"
      },
      {
        "title": "故障排除",
        "body": "登录失败？\n\n# 使用 headed 模式查看登录过程\nbrowser-use --browser real --headed open https://mail.google.com\n\n页面元素找不到？\n\n# 等待页面完全加载\nsleep 5\nbrowser-use state\n\n会话过期？\n\n# 关闭所有会话重新开始\nbrowser-use close --all\nbrowser-use --browser real open https://mail.google.com"
      },
      {
        "title": "清理",
        "body": "完成后记得关闭浏览器：\n\nbrowser-use close"
      }
    ],
    "body": "Email Daily Summary Skill\n\n这个技能帮助你自动登录邮箱，获取邮件内容，并生成每日邮件总结。\n\n功能特性\n🔐 支持多种邮箱登录（Gmail、Outlook、QQ 邮箱、163 邮箱等）\n📧 自动获取最新邮件列表\n📝 智能生成邮件摘要\n🏷️ 按重要性/发件人/主题分类\n📊 生成每日邮件统计报告\n前置要求\n安装 browser-use CLI：\nuv pip install browser-use[cli]\nbrowser-use install\n\n确保已在浏览器中登录过邮箱（使用 real 模式可直接复用登录状态）\n使用方法\n方式一：使用已登录的浏览器（推荐）\n\n使用 --browser real 模式可以复用你 Chrome 浏览器中已登录的邮箱会话：\n\n# Gmail\nbrowser-use --browser real open https://mail.google.com\n\n# Outlook\nbrowser-use --browser real open https://outlook.live.com\n\n# QQ 邮箱\nbrowser-use --browser real open https://mail.qq.com\n\n# 163 邮箱\nbrowser-use --browser real open https://mail.163.com\n\n方式二：手动登录流程\n\n如果需要手动登录，使用 --headed 模式查看操作过程：\n\n# 打开邮箱登录页面（以 Gmail 为例）\nbrowser-use --headed open https://accounts.google.com\n\n# 查看页面元素\nbrowser-use state\n\n# 输入邮箱地址（根据 state 返回的索引）\nbrowser-use input <email_input_index> \"your-email@gmail.com\"\nbrowser-use click <next_button_index>\n\n# 输入密码\nbrowser-use input <password_input_index> \"your-password\"\nbrowser-use click <login_button_index>\n\n# 跳转到邮箱\nbrowser-use open https://mail.google.com\n\n获取邮件列表\n\n登录成功后，获取邮件列表：\n\n# 获取当前页面状态，查看邮件列表\nbrowser-use state\n\n# 截图保存当前邮件列表\nbrowser-use screenshot emails_$(date +%Y%m%d).png\n\n# 使用 JavaScript 提取邮件信息（Gmail 示例）\nbrowser-use eval \"\n  const emails = [];\n  document.querySelectorAll('tr.zA').forEach((row, i) => {\n    if (i < 20) {\n      const sender = row.querySelector('.yX.xY span')?.innerText || '';\n      const subject = row.querySelector('.y6 span')?.innerText || '';\n      const snippet = row.querySelector('.y2')?.innerText || '';\n      const time = row.querySelector('.xW.xY span')?.innerText || '';\n      emails.push({ sender, subject, snippet, time });\n    }\n  });\n  JSON.stringify(emails, null, 2);\n\"\n\n使用 Python 生成邮件总结\n# 初始化邮件数据收集\nbrowser-use python \"\nemails_data = []\nsummary_date = '$(date +%Y-%m-%d)'\n\"\n\n# 滚动页面加载更多邮件\nbrowser-use python \"\nfor i in range(3):\n    browser.scroll('down')\n    import time\n    time.sleep(1)\n\"\n\n# 提取邮件数据（需要根据实际邮箱 DOM 结构调整）\nbrowser-use python \"\nimport json\n\n# 获取页面 HTML 进行解析\nhtml = browser.html\n\n# 这里需要根据具体邮箱服务解析 HTML\n# 示例：统计基本信息\nprint(f'=== 邮件日报 {summary_date} ===')\nprint(f'页面 URL: {browser.url}')\nprint(f'页面标题: {browser.title}')\n\"\n\n# 截图保存\nbrowser-use python \"\nbrowser.screenshot(f'email_summary_{summary_date}.png')\nprint(f'截图已保存: email_summary_{summary_date}.png')\n\"\n\n完整的每日邮件总结脚本\n\n创建一个完整的总结流程：\n\n#!/bin/bash\n# email_daily_summary.sh\n\nDATE=$(date +%Y-%m-%d)\nTIME=$(date +%H:%M:%S)\nOUTPUT_DIR=\"./email_summaries\"\nmkdir -p \"$OUTPUT_DIR\"\n\necho \"==========================================\"\necho \"📧 邮件日报生成中...\"\necho \"日期: $DATE $TIME\"\necho \"==========================================\"\n\n# 1. 打开邮箱（使用已登录的浏览器）\nbrowser-use --browser real open https://mail.google.com\n\n# 2. 等待页面加载\nsleep 3\n\n# 3. 获取页面状态\necho \"\"\necho \"📋 当前邮箱状态:\"\nbrowser-use state\n\n# 4. 截图保存邮件列表\necho \"\"\necho \"📸 保存截图...\"\nbrowser-use screenshot \"$OUTPUT_DIR/inbox_$DATE.png\"\n\n# 5. 提取邮件数据\necho \"\"\necho \"📊 邮件统计:\"\nbrowser-use eval \"\n(() => {\n  const unreadCount = document.querySelectorAll('.zE').length;\n  const totalVisible = document.querySelectorAll('tr.zA').length;\n  return JSON.stringify({\n    unread: unreadCount,\n    visible: totalVisible,\n    timestamp: new Date().toISOString()\n  });\n})()\n\"\n\n# 6. 关闭浏览器\necho \"\"\necho \"✅ 完成！截图保存至: $OUTPUT_DIR/inbox_$DATE.png\"\nbrowser-use close\n\n支持的邮箱服务\n邮箱服务\t登录 URL\t收件箱 URL\nGmail\thttps://accounts.google.com\thttps://mail.google.com\nOutlook\thttps://login.live.com\thttps://outlook.live.com\nQQ 邮箱\thttps://mail.qq.com\thttps://mail.qq.com\n163 邮箱\thttps://mail.163.com\thttps://mail.163.com\n126 邮箱\thttps://mail.126.com\thttps://mail.126.com\n企业微信邮箱\thttps://exmail.qq.com\thttps://exmail.qq.com\n生成 AI 邮件摘要\n\n如果配置了 API Key，可以使用 AI 自动生成邮件摘要：\n\n# 使用 AI 提取邮件摘要（需要 BROWSER_USE_API_KEY）\nbrowser-use --browser real open https://mail.google.com\nbrowser-use extract \"提取前 10 封邮件的发件人、主题和摘要，按重要性排序\"\n\n定时任务设置\nmacOS/Linux (crontab)\n# 编辑 crontab\ncrontab -e\n\n# 添加每日早上 9 点执行的任务\n0 9 * * * /path/to/email_daily_summary.sh >> /path/to/logs/email_summary.log 2>&1\n\nmacOS (launchd)\n\n创建 ~/Library/LaunchAgents/com.email.dailysummary.plist：\n\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n    <key>Label</key>\n    <string>com.email.dailysummary</string>\n    <key>ProgramArguments</key>\n    <array>\n        <string>/bin/bash</string>\n        <string>/path/to/email_daily_summary.sh</string>\n    </array>\n    <key>StartCalendarInterval</key>\n    <dict>\n        <key>Hour</key>\n        <integer>9</integer>\n        <key>Minute</key>\n        <integer>0</integer>\n    </dict>\n    <key>StandardOutPath</key>\n    <string>/tmp/email_summary.log</string>\n    <key>StandardErrorPath</key>\n    <string>/tmp/email_summary_error.log</string>\n</dict>\n</plist>\n\n\n加载任务：\n\nlaunchctl load ~/Library/LaunchAgents/com.email.dailysummary.plist\n\n输出示例\n\n生成的邮件总结报告格式：\n\n==========================================\n📧 邮件日报 - 2026-01-30\n==========================================\n\n📊 统计概览:\n- 未读邮件: 12 封\n- 今日新邮件: 28 封\n- 重要邮件: 5 封\n\n🔴 重要邮件:\n1. [工作] 来自 boss@company.com\n   主题: 项目进度汇报 - 紧急\n   时间: 09:30\n\n2. [财务] 来自 finance@bank.com\n   主题: 账单提醒\n   时间: 08:15\n\n📬 今日邮件分类:\n- 工作相关: 15 封\n- 订阅通知: 8 封\n- 社交媒体: 3 封\n- 其他: 2 封\n\n💡 建议操作:\n- 回复 boss@company.com 的邮件\n- 处理 3 封需要审批的邮件\n\n==========================================\n\n安全提示\n\n⚠️ 重要安全建议：\n\n不要在脚本中明文保存密码，优先使用 --browser real 模式复用已登录会话\n敏感信息使用环境变量存储\n定期检查授权应用，移除不需要的第三方访问\n启用两步验证保护邮箱安全\n日志文件不要包含敏感信息\n故障排除\n\n登录失败？\n\n# 使用 headed 模式查看登录过程\nbrowser-use --browser real --headed open https://mail.google.com\n\n\n页面元素找不到？\n\n# 等待页面完全加载\nsleep 5\nbrowser-use state\n\n\n会话过期？\n\n# 关闭所有会话重新开始\nbrowser-use close --all\nbrowser-use --browser real open https://mail.google.com\n\n清理\n\n完成后记得关闭浏览器：\n\nbrowser-use close"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/10e9928a/email-daily-summary",
    "publisherUrl": "https://clawhub.ai/10e9928a/email-daily-summary",
    "owner": "10e9928a",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/email-daily-summary",
    "downloadUrl": "https://openagent3.xyz/downloads/email-daily-summary",
    "agentUrl": "https://openagent3.xyz/skills/email-daily-summary/agent",
    "manifestUrl": "https://openagent3.xyz/skills/email-daily-summary/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/email-daily-summary/agent.md"
  }
}