← Back to Skills Marketplace
fankcoder

medal-email-quote

by fankcoder · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
68
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install auto-quote-mailer
Description
General-purpose ecommerce inquiry email automation skill. Periodically fetches customer inquiry emails, detects and translates languages, stores email data l...
README (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
Usage Guidance
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).
Capability Analysis
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.
Capability Tags
cryptocan-make-purchases
Capability Assessment
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).
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install auto-quote-mailer
  3. After installation, invoke the skill by name or use /auto-quote-mailer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug auto-quote-mailer
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is medal-email-quote?

General-purpose ecommerce inquiry email automation skill. Periodically fetches customer inquiry emails, detects and translates languages, stores email data l... It is an AI Agent Skill for Claude Code / OpenClaw, with 68 downloads so far.

How do I install medal-email-quote?

Run "/install auto-quote-mailer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is medal-email-quote free?

Yes, medal-email-quote is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does medal-email-quote support?

medal-email-quote is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created medal-email-quote?

It is built and maintained by fankcoder (@fankcoder); the current version is v1.0.0.

💬 Comments