Auto Smtp Email

通过 SMTP 发送单封业务邮件的"发送通道"。支持抄送、签名文件、HTML 模板和模板变量,支持从本地 env 文件读取邮箱凭证,默认先预览后发送。本 skill 只负责"把准备好的草稿真实发出去";外贸开发信的正文撰写、定制策略、反垃圾邮件检查交给 `trade-dev-email-writer`。当用户提到"用 163 邮箱发邮件"、"SMTP 发信"、"抄送邮件"、"HTML 邮件模板"、"把这封草稿发出去"时使用。

9 stars 2 forksProductivity & Notes

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add vines90/foreign-trade-cursor-skills --skill auto-smtp-email
Manual install
git clone --depth 1 https://github.com/vines90/foreign-trade-cursor-skills.git /tmp/foreign-trade-cursor-skills
mkdir -p ~/.claude/skills
cp -r /tmp/foreign-trade-cursor-skills/.cursor/skills/auto-smtp-email ~/.claude/skills/auto-smtp-email

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# SMTP 自动发邮件

## 适用范围

- 使用 `163`、企业邮箱或其他支持 SMTP 的邮箱发送邮件
- 根据客户背调结果生成并发送首封开发信或跟进邮件
- 用户已提供收件人、主题、正文,或只提供了上游素材需要你整理成邮件

## 默认策略

1. 未明确要求立即发送时,先预览,不真实发信。
2. 凭证只从本地 env 文件读取,不写进对话或 `SKILL.md`。
3. **发信前必须先检查 `references/credentials.env`(真实凭证文件)是否存在且已填写必填项。** 若已配置,直接用于 `--dry-run` / 发送,**不要**再向用户索要 SMTP 账号或授权码,**不要**把 `credentials.env.example` 当作当前生效配置去读——`.example` 只是字段模板,用于初次复制或核对变量名。
4. 仅当 `credentials.env` 不存在、无法读取或缺少必填键时,再参考 [references/credentials.env.example](references/credentials.env.example) 的格式,并提示用户在本机补全 `references/credentials.env`(或说明沙箱内未挂载该文件)。

### DeerFlow / 斜杠无界运行时(重要)

- **`send_email.py` 会先把 `os.environ` 与 env 文件合并**;本地 **LocalSandbox** 执行 `bash` 时,子进程**继承 LangGraph 进程的环境变量**。
- 项目根目录 **`.env`** 中的 `SMTP_HOST`、`SMTP_PORT`、`SMTP_USERNAME`、`SMTP_PASSWORD`、`SMTP_FROM`、`SMTP_SECURITY`(及可选 `SMTP_FROM_NAME`)由 **`serve.sh` 在启动时 `source`** 进后端进程,**不必**依赖 Agent 用 `read_file` 去读 `credentials.env`;模型若读不到 gitignore 下的文件,仍可通过环境变量发信。
- **修改 `.env` 后请重启 `make dev`**,否则旧进程里没有新的 SMTP 变量。
- 若仍只依赖 `references/credentials.env` 文件:在 **Docker AIO 沙箱** 中需确认宿主机 `skills` 目录绑定挂载完整(含未提交文件);更稳妥的方式仍是 **根目录 `.env`**。
5. 默认只处理单封发送;批量群发不在本 skill 范围内。
6. 收到的"邮件正文"如果是外贸开发信,**正文撰写、定制度、反营销腔与反垃圾邮件检查**统一由 [trade-dev-email-writer](../trade-dev-email-writer/SKILL.md) 负责,本 skill 不再重复定义那套规则;如果传入的是未经定制的通用模板正文,应先回退到 `trade-dev-email-writer` 重写,再调用本 skill 发送。

## 发送流程

### 1. 准备输入

至少确认以下字段:

- 收件人邮箱
- 邮件主题
- 邮件正文

可选字段:

- 抄送邮箱
- 密送邮箱
- 签名文件
- HTML 模板
- 模板变量
Read the full skill on GitHub

Details

Skill name
auto-smtp-email
Path
.cursor/skills/auto-smtp-email/SKILL.md
Repo updated
18 April 2026

FAQ

What does the Auto Smtp Email skill do?

通过 SMTP 发送单封业务邮件的"发送通道"。支持抄送、签名文件、HTML 模板和模板变量,支持从本地 env 文件读取邮箱凭证,默认先预览后发送。本 skill 只负责"把准备好的草稿真实发出去";外贸开发信的正文撰写、定制策略、反垃圾邮件检查交给 `trade-dev-email-writer`。当用户提到"用 163 邮箱发邮件"、"SMTP 发信"、"抄送邮件"、"HTML 邮件模板"、"把这封草稿发出去"时使用。

How do I install the Auto Smtp Email skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add vines90/foreign-trade-cursor-skills --skill auto-smtp-email. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Auto Smtp Email popular?

It lives in vines90/foreign-trade-cursor-skills, which has 9 GitHub stars and 2 forks.

Related skills

Apify Ultimate Scraper

9

vines90/foreign-trade-cursor-skills

Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, Google Maps, Google Search, Google Trends, Booking.com, and TripAdvisor. Use for lead generation, brand monitoring, competitor analysis, influencer discovery, trend research, content analytics, audience analysis, or any data extraction task.

Data & Analytics

Auto Trade Customer Development

9

vines90/foreign-trade-cursor-skills

基于产品信息、公司信息和目标市场,全自动完成外贸客户开发流程:调用 trade-customer-search 搜索海外潜客、b2b-customer-research 做背调、评分客户价值、trade-dev-email-writer 撰写全定制开发信、auto-smtp-email 发送、bitable-trade-customer 入库、bitable-trade-devlog 记开发日志。本 skill 只负责编排+评分+决定何时真发,写信和发送都委派给专职 skill。当用户提到"全自动开发客户"、"自动找客户并发邮件"、"外贸客户开发自动化"、"输入产品和市场自动搜客户"、"自动背调并发送开发信"时使用。

Marketing, Sales & Business

B2b Customer Research

9

vines90/foreign-trade-cursor-skills

外贸客户背景调查技能。输入客户公司网站URL,自动抓取并分析客户业务信息,生成结构化客户背调报告,包含公司概况、产品/业务、目标市场、关键联系人(含邮箱、LinkedIn、WhatsApp)、采购偏好等。当用户提到"客户背调"、"外贸客户开发"、"客户调研"、"分析这个客户"、"查一下这家公司"、"帮我调查这个网站"时使用。

Research & Science

Prismatic Migrate

9

prismatic-io/agent-skills

Migrate existing integrations to Prismatic from vendor exports, workflow projects, or bespoke scripts and services. Use when assessing or replacing an existing integration system while preserving its required behavior, including when the source format is unfamiliar or incomplete.

Productivity & Notes

Planning

9

claudekit/skillmark

Plan implementations, design architectures, create technical roadmaps with detailed phases. Use for feature planning, system design, solution architecture, implementation strategy, phase documentation.

Productivity & Notes

Timestamp Hunter

10

iceman1001/awesome_rfid_claude_skills

Scan a byte array, binary file, hex string, or base64 blob for embedded date/time values across many encodings (unix32/64, unix-ms, Windows FILETIME, Apple NSDate, OLE date, HFS, DOS date-time, GPS time, and textual ISO-8601/RFC-2822) in both endiannesses. Use any time the user gives Claude raw bytes, a binary file, hex dump, memory dump, packet capture, firmware, or unknown binary blob and wants to know when it was created, what dates are in it, or whether it has timestamps. Trigger on phrases like "find dates in this", "are there timestamps", "when was this made", "what's in this binary", "d

Productivity & Notes

Browse the most popular Claude skills, all productivity & notes skills, or write your own with the skills generator.