← 返回 Skills 市场
cjboy007

Sales Email Automation (IMAP/SMTP)

作者 Jaden's built a claw · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
124
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install sales-email-automation
功能描述
Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Wor...
安全使用建议
This skill appears to implement a full sales-email workflow (IMAP/SMTP, auto-archiving, OKKI matching, Discord review, quotation generation). That is plausible, but you should not install it blindly. Before using: 1) Review the code files (auto-capture.js, discord-review.js, scripts/*.js) yourself or with a dev you trust; pay special attention to any child_process.exec/execSync/execFile usage and the places where .env files are read. 2) Ensure you do NOT keep sensitive global credentials in a workspace-level .env two directories above the skill (discord-review tries to read ../../.env). 3) Remove or sandbox integrations you don't need (Discord bot token, OKKI CLI, vector search) or provide them via isolated, limited accounts. 4) Run the skill in an isolated container or dedicated system account with minimal permissions and with only the exact IMAP/SMTP credentials it needs. 5) If you need to allow automated sending, enforce human review for high-risk intents (complaints/partnership) and audit mail-sending logs. If you cannot review the code, consider not installing or restricting the environment and file access the skill can see.
功能分析
Type: OpenClaw Skill Name: sales-email-automation Version: 1.0.0 This skill bundle automates B2B sales workflows by integrating email (IMAP/SMTP), CRM (OKKI), and LLMs. It is classified as suspicious due to critical shell injection vulnerabilities in auto-capture.js and kb-retrieval.js, where untrusted data from email subjects or domains is passed directly into execSync calls to execute local Python scripts. While the bundle demonstrates benign intent through extensive documentation and security features like file path whitelisting in scripts/imap.js and scripts/smtp.js, the unsafe handling of external input when constructing shell commands presents a significant security risk that could allow an attacker to execute arbitrary code on the host system.
能力评估
Purpose & Capability
Stated purpose (read/send email via IMAP/SMTP) matches the majority of code: imap CLI, smtp CLI, auto-capture, attachment handling, and sending. Additional features — OKKI customer matching, LanceDB/vector search, Discord review, quotation-workflow integration — are plausible for a sales-email automation tool but expand scope beyond a minimal IMAP/SMTP helper. Declared required env vars (IMAP_*/SMTP_*) are appropriate; other capabilities (Discord, OKKI) explain extra files but were not listed in requires.env.
Instruction Scope
SKILL.md instructs to create a local .env and documents many optional envs and file paths, but the runtime code reads additional environment variables and paths beyond the declared required set (e.g., IMAP_PORT, IMAP_TLS, MAIL_OUTPUT_DIR, OKKI_CLI_PATH, VECTOR_SEARCH_PATH, DISCORD_BOT_TOKEN). Notably, discord-review.js attempts to load an ENV_PATH at path.join(__dirname, '..', '..', '.env') (two levels up), which may read a global .env outside the skill folder. The code executes local Python scripts and spawns child processes (execSync/execFile) to call vector search and OKKI CLI — these operations can read arbitrary local data, call external services, and transmit data (Discord API).
Install Mechanism
No install spec (instruction-only skill) and required runtime binaries are just node/npm. No remote downloads or archive extraction. This is lower installation risk, though the bundled code will be written to disk if the skill files are installed by the platform.
Credentials
Declared required env vars (IMAP_HOST/USER/PASS and SMTP_HOST/USER/PASS) are proportional to the email function. However, the code also expects or reads other secrets/paths that were not declared (DISCORD_BOT_TOKEN via a global .env, OKKI and vector-search CLI paths, MAIL_OUTPUT_DIR). The attempt to read ../../.env and to use child_process to run python scripts increases the effective credential and data-access footprint beyond the declared requirements.
Persistence & Privilege
always:false and default autonomous invocation are sensible. The skill writes archives and drafts to local directories and can create cron jobs per documentation (user-added). It does not claim or request permanent platform-level privileges, but its file writes, reading of a global .env, and ability to spawn external commands increase its blast radius if run with broader environment privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install sales-email-automation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /sales-email-automation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Email receiving/sending with OKKI sync and smart reply generation
元数据
Slug sales-email-automation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Sales Email Automation (IMAP/SMTP) 是什么?

Read and send email via IMAP/SMTP. Check for new/unread messages, fetch content, search mailboxes, mark as read/unread, and send emails with attachments. Wor... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 124 次。

如何安装 Sales Email Automation (IMAP/SMTP)?

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

Sales Email Automation (IMAP/SMTP) 是免费的吗?

是的,Sales Email Automation (IMAP/SMTP) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Sales Email Automation (IMAP/SMTP) 支持哪些平台?

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

谁开发了 Sales Email Automation (IMAP/SMTP)?

由 Jaden's built a claw(@cjboy007)开发并维护,当前版本 v1.0.0。

💬 留言讨论