ワンクリックで
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 職業分類に基づく
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.
Identify woven synthetic fibers and explain their dyeing and finishing implications from lab clues, fabric specs, and supplier claims.
Compare finish systems, interpret SDS or trade names, assess PFAS and chemical compliance, and recommend substitutes for woven synthetics.
Reference knowledge for DWR system comparison, PFAS regulations, hazardous substance thresholds, and auxiliary chemical brand identification.
Reference knowledge for woven synthetic fiber identification, dye-class matching, process windows, and cost/energy structure.
| name | qq-email |
| version | 1.1.0 |
| description | Send emails via QQ Mail SMTP using nodemailer. Use when sending notifications, reports, or alerts via email. |
| dependencies | {"mcps":[]} |
| prereq | references/SETUP.md |
| 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 ~/.swat/.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~/.swat/.env or environment variables — never hardcodenpm install -g nodemailer)