LaunchKit · 2026
Back to Skills

A skill to send emails via Aliyun enterprise email service with support for markdown, HTML text, attachments.

0
821 downloads
by @jixsonwang

Setup & Installation

openclaw skills install @jixsonwang/aliyun-mail

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install aliyun-mail

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: send a Markdown code report to team@example.com with an attached CSV

AGENT
  1. 1Read SMTP credentials from /root/.openclaw/aliyun-mail-config.json
  2. 2Compose Markdown body with code block
  3. 3Run aliyun-mail send with --markdown flag and --attachments pointing to the CSV
  4. 4Retry up to 3 times on transient SMTP errors
  5. 5Confirm delivery or report error details
OUTPUT

Email delivered to team@example.com with rendered Markdown and CSV attachment

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Aliyun enterprise email accountaliyun-mail-config.json placed in /root/.openclaw/ with SMTP credentials