Overview
- Skill Key
- fontstep/send-email
- Author
- fontstep
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/fontstep/send-email
- Latest Commit SHA
- 7778a4b3546abe12b9bde187ddb855e1c64b158d
Send emails via SMTP. Configure in ~/.openclaw/openclaw.json under skills.entries.send-email.env.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 send-email 技能。 若已安装,则直接安装 send-email 技能。
# Send Email
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.
## Configuration
Configure in **`~/.openclaw/openclaw.json`**:
```json
"skills": {
"entries": {
"send-email": {
"enabled": true,
"env": {
"EMAIL_SMTP_SERVER": "smtp.163.com",
"EMAIL_SMTP_PORT": "465",
"EMAIL_SENDER": "your-email@163.com",
"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) |
## Agent instructions
1. **Credentials**: Never read config files. OpenClaw injects `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.
2. **Send mail**: Run the script under **workspace** (do not use the path under node_modules):
```bash
python3 ~/.openclaw/workspace/skills/send-email/send_email.py "recipient" "Subject" "Body"
```
3. **Attachment**: `python3 ~/.openclaw/workspace/skills/send-email/send_email.py "recipient" "Subject" "Body" "/path/to/file.pdf"`
## Usage examples
```bash
python3 ~/.openclaw/workspace/skills/send-email/send_email.py 'recipient@example.com' 'Subject' 'Body text'
python3 ~/.openclaw/workspace/skills/send-email/send_email.py 'recipient@example.com...
# Send Email Skill
OpenClaw skill for sending emails via SMTP using the Python script. Credentials are read from `openclaw.json` → `skills.entries.send-email.env` (no ~/.msmtprc required).
## Features
- ✅ Support for 163, Gmail, QQ, and other SMTP providers
- ✅ Python script with env from openclaw.json
- ✅ Attachment support
- ✅ No ~/.msmtprc or manual SMTP file config needed
## Installation
Place this skill in `workspace/skills/send-email/`. It is then available to the agent.
## Configuration
Configure SMTP in `~/.openclaw/openclaw.json`:
```json
{
"skills": {
"entries": {
"send-email": {
"enabled": true,
"env": {
"EMAIL_SMTP_SERVER": "smtp.163.com",
"EMAIL_SMTP_PORT": "465",
"EMAIL_SENDER": "your-email@163.com",
"EMAIL_SMTP_PASSWORD": "YOUR_AUTH_CODE"
}
}
}
}
}
```
The agent runs `python3 {baseDir}/send_email.py`; OpenClaw injects these env vars at runtime.
## Usage
The agent sends mail by running:
```bash
python3 {baseDir}/send_email.py "recipient@example.com" "Subject" "Body text"
```
With attachment:
```bash
python3 {baseDir}/send_email.py "recipient@example.com" "Subject" "Body" "/path/to/file.pdf"
```
Example prompts:
- "Send an email to user@example.com with subject 'Hello' and body 'Test message'"
- "Email the report.pdf to manager@company.com"
edholofy
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.
rxhxm
Agent Skill (SKILL.md) for Sixtyfour AI — People & company intelligence API. Enrich leads, find emails/phones, qualify prospects, search people. For Claude Code, Codex, OpenClaw, Cursor.
lethehades
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance
pfrederiksen
OpenClaw skill: email-intelligence
johrell
Read and manage email via IMAP/SMTP. Designed as a skill for AI coding tools (Claude Code, OpenClaw) but works standalone from the terminal. Check inbox, fetch messages, search, download attachments, set flags, move between folders, save drafts, and send emails with attachments. Works with any standard IMAP/SMTP server.
smouj
Stealth email triage and autonomous response orchestrator.