← Back to Skills Marketplace
Sales Email Automation (IMAP/SMTP)
by
Jaden's built a claw
· GitHub ↗
· v1.0.0
· MIT-0
124
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install sales-email-automation
Description
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...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install sales-email-automation - After installation, invoke the skill by name or use
/sales-email-automation - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Email receiving/sending with OKKI sync and smart reply generation
Metadata
Frequently Asked Questions
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.
How do I install Sales Email Automation (IMAP/SMTP)?
Run "/install sales-email-automation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Sales Email Automation (IMAP/SMTP) free?
Yes, Sales Email Automation (IMAP/SMTP) is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Sales Email Automation (IMAP/SMTP) support?
Sales Email Automation (IMAP/SMTP) is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Sales Email Automation (IMAP/SMTP)?
It is built and maintained by Jaden's built a claw (@cjboy007); the current version is v1.0.0.
More Skills