360 Secure SkillHub
360 安全技能中心

medal-email-quote

通过 IMAP 定时抓取客户询盘邮件,检测并翻译语言,按可配置定价规则生成报价回复草稿并本地归档。材料显示需运行 Python 脚本;配置引用 scripts/config.py,但文件列表仅有 config/config.py,存在引用缺失。

分类:营销
fankcoder
fankcoder
热度 19.62
最近更新 2026-05-11 17:42:41

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add fankcoder/auto-quote-mailer
兼容性
通用兼容
联网要求
需要联网
数据出网
可选出网
Metadata
name
ecommerce-email-quote
description
General-purpose ecommerce inquiry email automation skill. Periodically fetches customer inquiry emails, detects and translates languages, stores email data locally, and generates quotation reply drafts based on configurable pricing rules and product parameters. Use when handling customer inquiries, auto-processing emails, translation, and generating quotation responses.

Ecommerce Inquiry Email Automation Skill

Overview

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

  1. Scheduled Email Retrieval
    Automatically fetch incoming inquiry emails from mailbox

  2. Language Detection & Translation
    Detect email language and translate into a target language (default: English)

  3. Local Archiving
    Store raw emails, parsed content, and translated versions

  4. Quotation Generation
    Generate structured quotation replies based on pricing rules and product parameters


Core Features

1. Email Retrieval

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

2. Language Detection & Translation

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

3. Local Storage Structure

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


4. Quotation Engine

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

Configuration

Before using, edit scripts/config.py:

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

Usage

Run single check

python scripts/email_check.py