aliyun-mail
bởi jixsonwang
Web & Frontend DevelopmentTóm tắt
A skill to send emails via Aliyun enterprise email service with support for markdown, HTML text, attachments.
Mô tả
Kỹ năng này làm gì
Sends emails through Aliyun enterprise email (smtp.mxhichina.com) via SMTP. Supports plain text, Markdown with code syntax highlighting, and HTML content. Attachments and body-from-file are also supported.
Purpose-built for Aliyun's SMTP service, so it handles the specific port and TLS setup that generic mail tools often misconfigure with that provider.
Khi nào nên dùng
- Send a code report with syntax-highlighted Python snippets
- Email a weekly PDF report with an HTML summary
- Automate notification emails from a server script
- Send log files as attachments after a scheduled job
- Deliver Markdown-formatted documentation to teammates
Quy trình ví dụ
User asks: send a Markdown code report to team@example.com with an attached CSV
- 1
Read SMTP credentials from /root/.openclaw/aliyun-mail-config.json
- 2
Compose Markdown body with code block
- 3
Run aliyun-mail send with --markdown flag and --attachments pointing to the CSV
- 4
Retry up to 3 times on transient SMTP errors
- 5
Confirm delivery or report error details
Email delivered to team@example.com with rendered Markdown and CSV attachment
Yêu cầu
- Aliyun enterprise email account
- aliyun-mail-config.json placed in /root/.openclaw/ with SMTP credentials
Cài đặt
clawhub install jixsonwang/aliyun-mailChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.