Send emails via SMTP. Configure in ~/.openclaw/openclaw.json under skills.entries.send-email.env.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install send-email或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install send-email⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/send-email/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: send-email description: Send emails via SMTP. Configure in ~/.openclaw/openclaw.json under skills.entries.send-email.env. metadata: {"openclaw":{"emoji":"📧","requires":{"anyBins":["python3"]}}} ---
Send emails via the Python script. SMTP settings are injected by OpenClaw at runtime when the script runs (from ~/.openclaw/openclaw.json → skills.entries.send-email.env). Do not read any config file (e.g. ~/.openclaw/openclaw.json or workspace/openclaw.json) — that would expose credentials in tool output. Just run the script; env is injected automatically. Do not use ~/.msmtprc.
Configure in ~/.openclaw/openclaw.json:
"skills": {
"entries": {
"send-email": {
"enabled": true,
"env": {
"EMAIL_SMTP_SERVER": "smtp.163.com",
"EMAIL_SMTP_PORT": "465",
"EMAIL_SENDER": "[email protected]",
"EMAIL_SMTP_PASSWORD": "YOUR_AUTH_CODE"
}
}
}
}
| Variable | Description | |----------|-------------| | EMAIL_SMTP_SERVER | SMTP server, e.g. smtp.163.com, smtp.gmail.com | | EMAIL_SMTP_PORT | Port, 465 (SSL) or 587 (TLS) | | EMAIL_SENDER | Sender email address | | EMAIL_SMTP_PASSWORD | Authorization code / app password (163/QQ: auth code; Gmail: App Password) |
skills.entries.send-email.env when the script runs — do not use the read tool on ~/.openclaw/openclaw.json or workspace/openclaw.json (exposes secrets). If the skill is enabled, assume env is configured; do not ask the user for passwords. Do not use ~/.msmtprc.```bash python3 ~/.openclaw/workspace/skills/send-email/send_email.py "recipient" "Subject" "Body" ```
python3 ~/.openclaw/workspace/skills/send-email/send_email.py "recipient" "Subject" "Body" "/path/to/file.pdf"python3 ~/.openclaw/workspace/skills/send-email/send_email.py '[email protected]' 'Subject' 'Body text'
python3 ~/.openclaw/workspace/skills/send-email/send_email.py '[email protected]' 'Subject' 'Body' '/path/to/file.pdf'
smtp.163.com:465, requires authorization code (not login password)smtp.gmail.com:587, requires App Passwordsmtp.qq.com:465, requires authorization codeEMAIL_SMTP_PASSWORD is the authorization code or App Password.EMAIL_SMTP_SERVER and EMAIL_SMTP_PORT.安装 send-email 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/send-email/ 目录(个人级,所有项目可用),或 .claude/skills/send-email/(项目级)。重启 AI 客户端后,用 /send-email 主动调用,或让 AI 根据上下文自动发现并使用。
send-email 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
send-email 可免费安装使用。请查阅仓库了解许可证信息。
Send emails via SMTP. Configure in ~/.openclaw/openclaw.json under skills.entries.send-email.env.
send-email 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。