email-send

基于 Nodemailer 的邮件发送技能。使用 nodemailer + SMTP 向任意邮箱发送邮件。支持 163、QQ、Gmail 等主流 SMTP 服务。当用户请求发送邮件时触发。

3,891 stars

Best use case

email-send is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

基于 Nodemailer 的邮件发送技能。使用 nodemailer + SMTP 向任意邮箱发送邮件。支持 163、QQ、Gmail 等主流 SMTP 服务。当用户请求发送邮件时触发。

Teams using email-send should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/email-send-cn/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/anbangzhiguo/email-send-cn/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/email-send-cn/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How email-send Compares

Feature / Agentemail-sendStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

基于 Nodemailer 的邮件发送技能。使用 nodemailer + SMTP 向任意邮箱发送邮件。支持 163、QQ、Gmail 等主流 SMTP 服务。当用户请求发送邮件时触发。

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Email Send Skill

使用 nodemailer 通过 SMTP 发送邮件。

## 安装依赖

使用前请先安装依赖:

```bash
npm install
```

这将安装包括 nodemailer 在内的所有必要依赖。

## 安全注意事项

- **请勿在命令行中直接使用真实的 SMTP 凭据**,特别是在生产环境中
- **避免将 SMTP 密码提交到版本控制系统**
- **使用环境变量或安全的配置管理系统**来存储敏感信息
- **定期更新 SMTP 授权码**以增强安全性

## 环境配置

SMTP 凭据通过环境变量配置:

| 变量 | 说明 | 示例 |
|------|------|------|
| SMTP_HOST | SMTP 服务器地址 | smtp.example.com |
| SMTP_PORT | 端口 (25/465/587) | 465 |
| SMTP_SECURE | 是否 SSL (true/false) | true |
| SMTP_USER | 用户名/邮箱 | your-email@example.com |
| SMTP_PASS | 授权码/密码 | your-smtp-password |
| SMTP_FROM | 发件人显示名 | Your Name <your-email@example.com> |

## 使用方式

### 直接调用脚本

```bash
SMTP_HOST=smtp.163.com \
SMTP_PORT=465 \
SMTP_SECURE=true \
SMTP_USER=your-email@example.com \
SMTP_PASS=your-smtp-password \
SMTP_FROM="Your Name <your-email@example.com>" \
node /path/to/scripts/send.js \
  --to "recipient@example.com" \
  --subject "Email Subject" \
  --body "Email Body"
```

### AI 调用方式

当用户请求发送邮件时,使用 exec 工具执行上述命令。

## 脚本参数

| 参数 | 必填 | 说明 |
|------|------|------|
| --to | 是 | 收件人邮箱 |
| --cc | 否 | 抄送 (逗号分隔多个) |
| --subject | 是 | 邮件主题 |
| --body | 是 | 邮件正文 |
| --html | 否 | body 是否为 HTML (设为 "true") |

## 常用 SMTP 配置

- **163 邮箱**: smtp.163.com, 端口 465 (SSL) 或 587 (TLS)
- **QQ 邮箱**: smtp.qq.com, 端口 465 (SSL) 或 587 (TLS)
- **Gmail**: smtp.gmail.com, 端口 587 (TLS)

授权码需要在邮箱设置中获取。

Related Skills

send-usdc

3891
from openclaw/skills

Send USDC to an Ethereum address or ENS name. Use when you or the user want to send money, pay someone, transfer USDC, tip, donate, or send funds to a wallet address or .eth name. Covers phrases like "send $5 to", "pay 0x...", "transfer to vitalik.eth", "tip someone", "send USDC".

DeFi & Crypto

Cold Email Writer

3891
from openclaw/skills

Writes personalized cold emails that actually get replies

Content & Documentation

email-triager

3891
from openclaw/skills

Triage, categorize, and draft responses to emails. Sorts by urgency, flags action items, and generates context-aware reply drafts.

Workflow & Productivity

afrexai-email-to-calendar

3891
from openclaw/skills

Extract calendar events, deadlines, action items, and follow-ups from emails. Works with any calendar provider (Google, Outlook, Apple, Notion, etc.). No external dependencies — pure agent intelligence. Use when the user forwards an email, asks to check inbox for events, or wants to extract structured scheduling data from any text.

Workflow & Productivity

Email Marketing Command Center

3891
from openclaw/skills

Complete email marketing system — strategy, sequences, segmentation, automation, deliverability, and analytics. Build campaigns that convert.

Marketing

Email Marketing Engine

3891
from openclaw/skills

Complete email marketing system — deliverability, list building, sequences, cold outreach, automation, analytics, and revenue optimization. Zero dependencies.

Marketing

SendTradeSignal

3891
from openclaw/skills

A specialized tool for sending quantitative trading signals to the FMZ platform via HTTP API.

Finance & Trading

email-daily-summary

3891
from openclaw/skills

Automatically logs into email accounts (Gmail, Outlook, QQ Mail, etc.) and generates daily email summaries. Use when the user wants to get a summary of their emails, check important messages, or create daily email digests.

Workflow & Productivity

feishu-voice-send

3891
from openclaw/skills

飞书语音消息发送:使用官方 API 上传 OPUS 音频并发送语音消息,解决 OpenClaw 内置发送缺少 duration 参数的问题。| Send voice messages via Feishu official API, fixing OpenClaw's missing duration parameter bug.

ai-email-master

3891
from openclaw/skills

Professional email writing assistant with tone adjustment, template library, grammar checking, and response suggestions. Supports formal, casual, persuasive, and empathetic tones for business communication.

wechat-file-sender

3891
from openclaw/skills

Send files via Windows WeChat client using RPA automation. No external dependencies — pure PowerShell + Windows Automation API.

networking-email-drafter

3891
from openclaw/skills

Draft professional follow-up emails to contacts made at conferences - not too pushy, but memorable.