← 返回 Skills 市场
fankcoder

medal-email-quote

作者 fankcoder · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-quote-mailer
功能描述
General-purpose ecommerce inquiry email automation skill. Periodically fetches customer inquiry emails, detects and translates languages, stores email data l...
使用说明 (SKILL.md)

\r \r

Ecommerce Inquiry Email Automation Skill\r

\r

Overview\r

\r This skill automates the processing of customer inquiry emails for ecommerce businesses:\r \r

  1. Scheduled Email Retrieval \r Automatically fetch incoming inquiry emails from mailbox\r \r
  2. Language Detection & Translation \r Detect email language and translate into a target language (default: English)\r \r
  3. Local Archiving \r Store raw emails, parsed content, and translated versions\r \r
  4. Quotation Generation \r Generate structured quotation replies based on pricing rules and product parameters\r \r ---\r \r

Core Features\r

\r

1. Email Retrieval\r

  • Supports IMAP protocol\r
  • SSL/TLS secure connection\r
  • Configurable polling interval (default: every 30 minutes)\r
  • Processes only unread emails and marks them as handled\r \r ---\r \r

2. Language Detection & Translation\r

  • Automatically detects email language\r
  • Translates non-target-language content via translation APIs (Google, DeepL, etc.)\r
  • Stores both original and translated versions\r \r ---\r \r

3. Local Storage Structure\r

email_storage/\r ├── raw/ # Raw emails (.eml format)\r ├── text/ # Extracted plain text\r ├── translated/ # Translated content\r └── quotes/ # Generated quotation drafts\r \r ---\r \r

4. Quotation Engine\r

\r

  • Calculates pricing based on:\r
    • Product type / material\r
    • Size or specifications\r
    • Quantity\r
    • Manufacturing process or customization options\r
  • Applies tiered discount rules\r
  • Generates professional email reply templates\r \r ---\r \r

Configuration\r

\r Before using, edit scripts/config.py:\r \r

  • IMAP server (host, port, email, password)\r
  • Translation API (optional)\r
  • Local storage directory\r
  • Pricing data file paths\r
  • Default language settings\r \r ---\r \r

Usage\r

\r

Run single check\r

\r

python scripts/email_check.py
安全使用建议
This package mostly does what it says (IMAP fetch → translate → generate quotes), but review these before installing: 1) Credentials: it expects your email username/password in config/config.py (plaintext). Do not put production credentials into repository files — prefer environment variables or a secrets store and update the code to read them securely. 2) Metadata mismatch: the registry lists no required credentials, so the skill may ask you to edit a config file instead of requesting an env var — be prepared to supply an email account (use an app‑specific/password and a dedicated mailbox). 3) Privacy/network: translations using googletrans or other engines will send email text to remote services (Google/Baidu); if customer data is sensitive, disable automatic translation or use a paid/private API with explicit data handling guarantees. 4) Docs/path mismatch: SKILL.md refers to scripts/config.py but the actual path is config/config.py — double-check where to edit. 5) Run in isolation: test with a throwaway email account and sample emails to verify behavior and that no unexpected external endpoints are contacted. If you accept the tradeoffs, consider hardening (move credentials to env vars, limit daemon scope/permissions, and review third-party library behavior).
功能分析
Type: OpenClaw Skill Name: medal-email-quote Version: 1.0.0 The skill bundle is a legitimate automation tool for processing ecommerce inquiry emails, featuring IMAP integration, language translation, and automated price calculation. The code logic in scripts like email_check.py and email_utils.py is transparent and aligns with the stated purpose of fetching, parsing, and archiving customer inquiries. While the tool requires sensitive IMAP credentials in config.py, there is no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The code files implement IMAP fetching, language detection/translation, local archiving, and quotation generation as advertised. The libraries and logic are consistent with an ecommerce email-quote automation tool.
Instruction Scope
SKILL.md instructs editing a config file and running scripts/email_check.py; the actual configuration file is config/config.py (path mismatch). The runtime instructions and code only access IMAP, local storage, and translation libraries — they do not attempt to read unrelated system files. However the agent will handle real email content and may send text to third‑party translation services (googletrans) if enabled.
Install Mechanism
No install spec in the registry; this is an instruction/code bundle with a requirements.txt. Dependencies (pandas, langdetect, googletrans) are typical Python packages. No remote arbitrary downloads or extract steps are present in the manifest.
Credentials
The skill requires IMAP credentials (username/password) to operate, but the registry metadata declares no required environment variables or primary credential. Credentials are expected to be placed into config/config.py (plaintext in the project), which is inconsistent and risky. Translation settings also include a 'baidu_secret' placeholder. The absence of a declared credential in metadata may mislead users about what secrets will be needed.
Persistence & Privilege
The skill is not forced-always, does not modify other skills or system-wide settings, and only writes its own local storage directories. Running the optional daemon will periodically poll email per user-configured schedule (normal for this use case).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-quote-mailer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-quote-mailer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of ecommerce-email-quote skill: - Automates fetching and processing of customer inquiry emails via IMAP. - Detects and translates email languages, storing both original and translated content. - Archives raw emails, parsed text, translations, and generated quotation drafts locally. - Generates structured quotation replies using configurable product and pricing rules. - Features flexible configuration for email, translation, storage, and pricing settings.
元数据
Slug auto-quote-mailer
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

medal-email-quote 是什么?

General-purpose ecommerce inquiry email automation skill. Periodically fetches customer inquiry emails, detects and translates languages, stores email data l... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 68 次。

如何安装 medal-email-quote?

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

medal-email-quote 是免费的吗?

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

medal-email-quote 支持哪些平台?

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

谁开发了 medal-email-quote?

由 fankcoder(@fankcoder)开发并维护,当前版本 v1.0.0。

💬 留言讨论