一键导入
qq-email
Send emails via QQ Mail SMTP using nodemailer. Use when sending notifications, reports, or alerts via email.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Send emails via QQ Mail SMTP using nodemailer. Use when sending notifications, reports, or alerts via email.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Xiaohongshu (小红书) browser automation skill. Use when browsing/searching content, extracting post data, or interacting with the platform via playwright. Requires pre-authenticated storage state.
Chinese traditional calendar and BaZi (Four Pillars of Destiny) skill. Provides CLI scripts for birth chart analysis, marriage compatibility, and auspicious date selection. Wraps the china-testing/bazi library with lunar-python.
Ctrip (携程) hotel price query tool. Use when checking hotel prices, comparing rates, or monitoring price changes on Ctrip via Playwright browser automation. Requires pre-authenticated storage state.
Amap (Gaode Maps) Web Service API skill. Provides CLI scripts for POI search, route planning, geocoding, and weather queries. Zero dependencies — uses Node.js native fetch (Node 18+).
Single-file HTML slide-deck template for Tao Te Ching chapter decks — ink-style, 10-page narrative, hand-rolled engine, reusable CSS variables and animation classes
Design or interpret dye process curves for woven synthetics, diagnose defects, and recommend colorfastness improvements with explicit trade-offs.
| name | qq-email |
| scope | langsensei |
| description | Send emails via QQ Mail SMTP using nodemailer. Use when sending notifications, reports, or alerts via email. |
| version | 1.2.0 |
| prereqs | Requires: Nodemailer, QQ Mail SMTP, Verify. See `references/SETUP.md` for step-by-step setup instructions. |
| Variable | Description | Example |
|---|---|---|
QQ_EMAIL_USER | QQ Mail address (sender) | 123456@qq.com |
QQ_EMAIL_AUTH_CODE | SMTP authorization code | (from QQ Mail settings) |
Credentials are auto-loaded from ~/.qq-email/.env. Environment variables take precedence over file values. See references/SETUP.md for setup instructions.
NODE_PATH=$(npm root -g) node scripts/send.js \
--to "recipient@example.com" \
--subject "Test Email" \
--body "Hello, this is a test."
Arguments:
| Argument | Required | Description |
|---|---|---|
--to <email> | Yes | Recipient email address |
--subject <text> | Yes | Email subject line |
--body <text> | No | Plain text body |
--html <file> | No | Path to HTML file to use as email body |
--from <email> | No | Override sender (defaults to QQ_EMAIL_USER) |
--attach <file> | No | File attachment (repeatable for multiple files) |
If both --body and --html are provided, the email is sent as multipart with both plain text and HTML alternatives.
Output: JSON to stdout.
Success:
{
"status": "success",
"messageId": "<abc123@qq.com>",
"to": "recipient@example.com",
"subject": "Test Email"
}
Error:
{
"status": "error",
"message": "Missing required argument: --to"
}
Exit code: 0 on success, 1 on error.
Plain text email:
NODE_PATH=$(npm root -g) node scripts/send.js \
--to "user@example.com" \
--subject "Daily Report" \
--body "All systems operational."
HTML email from file:
NODE_PATH=$(npm root -g) node scripts/send.js \
--to "user@example.com" \
--subject "Weekly Report" \
--html report.html
Email with attachments:
NODE_PATH=$(npm root -g) node scripts/send.js \
--to "user@example.com" \
--subject "Report with Data" \
--body "Please find the attached files." \
--attach data.csv \
--attach chart.png
Custom sender:
NODE_PATH=$(npm root -g) node scripts/send.js \
--to "user@example.com" \
--subject "From Alt Account" \
--body "Sent from a different address." \
--from "alt@qq.com"
| Setting | Value |
|---|---|
| Host | smtp.qq.com |
| Port | 465 |
| Secure | true (SSL) |
--attach flag can be repeated multiple times for multiple attachments~/.qq-email/.env or environment variables — never hardcodenpm install -g nodemailer)