custom-smtp-sender
A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- custom-smtp-sender
- description
- A skill to send emails with support for markdown, HTML text, and attachments, leveraging existing SMTP configuration in `/home/bb/.openclaw/smtp-config.json`. Includes retry logic and logging.
02 资源文件 2
- 参考文档_meta.json289 B
- 脚本email_sender.py2.5 KB
03 SKILL.md 正文
Custom SMTP Sender
Custom skill to send emails with advanced options including HTML/Markdown conversion, attachments, and retry handling. Integrates existing configuration, ensuring secure and reliable operations.
Features
- HTML/Markdown support: Compose emails using markdown converted to HTML.
- Attachments: Include one or more files easily.
- Retries: Attempts to resend in case of temporary failures.
- Logging: Maintains a log of sent emails and errors for auditing.
Prerequisites
- SMTP Configuration File:
smtp-config.jsonlocated at/home/bb/.openclaw/
Example:
{
"server": "smtp.exmail.qq.com",
"port": 465,
"username": "your-email@example.com",
"password": "your-password",
"emailFrom": "your-email@example.com",
"useTLS": true
}
Ensure file permissions are secured (chmod 600).
Usage
Send a basic email:
custom-smtp-sender send --to "recipient@example.com" --subject "Hello" --body "你好"
Send an HTML email with an attachment:
custom-smtp-sender send \
--to "recipient@example.com" \
--subject "Weekly Report" \
--body "**Important updates inside.** See attached." \
--html \
--attachments path/to/file.pdf
Error Handling
The tool retries up to 3 times on failure, logging each attempt. Networking or credential issues are reported in detail.
Future Expansion
- Support for CC/BCC fields
- Scheduling emails (cron integration)
- Email templates
Set up your SMTP-service once, and you’re ready to integrate email into your workflow!
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.