← 返回 Skills 市场
bu-bu-xxx

Smart Email

作者 bubu lamb · GitHub ↗ · v2.5.2 · MIT-0
cross-platform ⚠ suspicious
145
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install smart-email-assistant
功能描述
AI智能邮件管理助手,支持 QQ、126、163、Outlook 多邮箱 IMAP 收取,本地归档,AI 智能判断紧急邮件,自动发送到用户指定渠道(Telegram/钉钉/企业微信/飞书等)。
安全使用建议
Key things to check before installing or enabling this skill: 1) Secrets and env vars: The registry lists no required env vars, but SKILL.md and code require email auth codes and LLM API keys (OpenAI/Anthropic) and likely channel tokens for Telegram/钉钉/飞书/企业微信. Do NOT paste secrets into .env until you review where they are used. Confirm which channel credentials (bot token, webhook, app secret) the dispatch code expects. 2) Review dispatch code: Inspect dispatcher/dispatch-related files to see what external endpoints are used and how credentials are sent. Ensure channel integrations do not leak full email bodies or attachments to unintended endpoints. 3) Privacy of LLM calls: The analyzer code encodes inline images to base64 and sends email text/images to external LLM providers. If you use a third‑party API key, you are sending email content to that vendor. If that is unacceptable, consider using a local/provider you control (subagent) or disable multimodal analysis. 4) Test mode first: Use the provided test-check/test-digest/test-dispatch modes (they claim not to send messages and to use tmp/ paths). Run tests and inspect tmp/outbox/pending to confirm behavior before enabling cron or adding real credentials. 5) Cron and system changes: setup-cron --apply will create recurring jobs. Only run it after you confirm the script behavior and are comfortable with scheduled runs that can access archived emails and credentials. 6) Source provenance: The package contains full source and points to multiple repository URLs in docs; verify the repository origin and check integrity (git remote, commit history) before installing. Avoid blindly running automatic install prompts that fetch code from unknown URLs. 7) Least privilege: Create and supply API keys with the minimal scope possible. If possible, use per-skill accounts/bots (a dedicated Telegram bot, dedicated mailbox or delegated auth) rather than your primary account credentials. If you want, I can: (A) list the exact environment variables and config keys referenced in the code, (B) point out where dispatchers expect channel credentials in the source, or (C) extract the functions that send data externally so you can review them more easily.
功能分析
Type: OpenClaw Skill Name: smart-email-assistant Version: 2.5.2 The 'Smart Email' skill bundle is a comprehensive AI-powered email management tool that integrates IMAP retrieval, AI analysis (OpenAI/Anthropic/Subagent), and multi-channel notifications (Telegram/DingTalk/etc.). The code logic is well-structured and aligns perfectly with its stated purpose. It uses standard libraries like `imaplib` for email access and the OpenClaw CLI (`openclaw message`, `openclaw cron`) for scheduling and delivery. While it handles sensitive data like email credentials and uses powerful features like `sessions_spawn` for subagents, these actions are transparently documented and necessary for the tool's functionality. No evidence of data exfiltration, malicious prompt injection, or unauthorized persistence was found across the analyzed files (e.g., `src/smart_email/__main__.py`, `src/smart_email/mail_handler.py`, and `SKILL.md`).
能力评估
Purpose & Capability
The skill legitimately implements IMAP email retrieval, local archiving, LLM-based analysis, and multi-channel dispatch (Telegram/钉钉/WeCom/飞书). However the registry metadata claims no required environment variables or credentials while the SKILL.md and source code clearly require multiple secrets (email auth codes, OpenAI/Anthropic API keys, and channel credentials). That mismatch is incoherent and potentially dangerous: installing or enabling the skill without knowing which secrets are needed or where they are used is risky.
Instruction Scope
SKILL.md instructs the agent to read USER_GUIDE.md, help the user populate ~/.openclaw/.env, run init and setup-cron --apply, and run test modes. Those steps are within the stated purpose (install/configure the email assistant) but they give the agent active guidance to create/edit .env and to install cron jobs. The guide also directs the agent to run commands that interact with the filesystem (create storage, save .eml, attachments) and to send messages to external channels — all expected for this functionality but privacy-sensitive. The instructions ask the agent to be proactive in modifying user config, which requires caution.
Install Mechanism
No automated install spec is declared (instruction-only), but the package contains full source, pyproject.toml, and requirements.txt. Installation requires manual steps (git clone, pip install -r requirements.txt) described in README/INSTALL. The absence of a declared automated install + presence of executable code means the platform or user will need to run code and install dependencies manually — verify package origin before doing so.
Credentials
The skill requires sensitive credentials: email account auth codes (QQ/126/163/Outlook), LLM API keys (SMART_EMAIL_OPENAI_API_KEY, SMART_EMAIL_ANTHROPIC_API_KEY or equivalent), and channel delivery credentials (Telegram/DingTalk/WeCom/Feishu). The registry incorrectly lists 'none' for required env vars/primary credential. Additionally, SKILL.md/code references some env vars (e.g. SMART_EMAIL_OPENAI_API_URL, SMART_EMAIL_OPENAI_MODEL, SMART_EMAIL_DELIVERY_TARGET) but does not declare channel bot tokens or other channel-specific secrets — likely missing from registry metadata. Sending email contents (including inline images encoded as base64) to third‑party LLM APIs is part of normal operation but is high‑sensitivity data flow and should be explicitly acknowledged by the user.
Persistence & Privilege
always:false (normal). The skill's workflow includes creating scheduled jobs (setup-cron --apply) that will make the skill run periodically (check/digest/dispatch). That behavior is consistent with an email assistant but means the code will operate autonomously once configured and will access local storage (~/.openclaw/workspace/smart-email-data/). Combine this with the missing credential declarations and you have a larger blast radius if misconfigured — exercise caution before enabling cron.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-email-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-email-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.5.2
修复 digest 去重 Bug:glob 匹配模式从 digest_*.json 改为 *.json,正确读取已发送消息实现去重
v2.5.1
- 更新依赖或优化了 src/smart_email/__main__.py 脚本。 - 细节和内部逻辑可能获得改进以提升稳定性(详见具体代码差异)。 - 其他功能和使用方式保持不变。
v2.5.0
Version 2.5.0 - Improved: Refactored core modules including analyzers and mail handling logic for better maintainability. - Added: Enhanced support for multiple LLM providers (OpenAI, Anthropic, Subagent). - Fixed: Various bug fixes across outbox management and email processing flows. - Updated: pyproject.toml and configuration instructions for clearer usage and setup. - Other: Minor improvements in database and message dispatch handling.
v2.4.0
AI智能邮件管理助手,支持多邮箱IMAP收取、AI紧急判断、多渠道推送、定时汇总
元数据
Slug smart-email-assistant
版本 2.5.2
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Smart Email 是什么?

AI智能邮件管理助手,支持 QQ、126、163、Outlook 多邮箱 IMAP 收取,本地归档,AI 智能判断紧急邮件,自动发送到用户指定渠道(Telegram/钉钉/企业微信/飞书等)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 145 次。

如何安装 Smart Email?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-email-assistant」即可一键安装,无需额外配置。

Smart Email 是免费的吗?

是的,Smart Email 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Smart Email 支持哪些平台?

Smart Email 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Smart Email?

由 bubu lamb(@bu-bu-xxx)开发并维护,当前版本 v2.5.2。

💬 留言讨论