Aliyun Mail for Openclaw

A professional-grade skill for automating enterprise email communication through Aliyun with full support for Markdown, attachments, and syntax highlighting.

jixsonwang
v1.0.0
Feb 9, 2026
0
2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install aliyun-mail

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install aliyun-mail using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Aliyun Mail?

The Aliyun Mail skill is a robust integration designed for developers and AI agents who need to bridge the gap between automated task execution and professional stakeholder communication. By leveraging the Aliyun enterprise email service, this skill provides a secure and scalable way to distribute reports, notifications, and code snippets directly from an AI environment.

As part of the ecosystem of Openclaw Skills, it prioritizes security and versatility, offering features like TLS encryption and automatic Markdown-to-HTML conversion. Whether you are sending simple text alerts or complex technical reports with code blocks, this skill ensures your communications are delivered reliably and styled professionally.

Aliyun Mail Use Cases

  • Sending automated project status updates or technical reports directly to stakeholders.
  • Distributing code snippets and logs with automatic syntax highlighting to team members.
  • Attaching generated data files, PDFs, or CSVs to automated system notifications.
  • Integrating reliable email alerts into complex CI/CD or monitoring workflows managed by Openclaw Skills.

How Aliyun Mail Works

  1. The skill initializes by reading secure SMTP credentials and server settings from the local configuration file.
  2. It processes the input email body, optionally converting Markdown content into styled HTML with syntax highlighting for code blocks.
  3. The skill validates local file paths and prepares any specified documents as attachments.
  4. A secure connection is established with the Aliyun SMTP server (smtp.mxhichina.com) using TLS.
  5. The email is dispatched to the recipient, with a built-in retry mechanism that attempts delivery up to three times in case of transient network issues.

Aliyun Mail Setup

To get started, create a configuration file at /root/.openclaw/aliyun-mail-config.json with the following structure:

{
  "server": "smtp.mxhichina.com",
  "port": 465,
  "username": "[email protected]",
  "password": "your-app-password",
  "emailFrom": "[email protected]",
  "useTLS": true
}

Ensure the configuration file has secure permissions to protect your credentials:

chmod 600 /root/.openclaw/aliyun-mail-config.json

Aliyun Mail Data Schema & Taxonomy

The skill manages configuration and email metadata using a structured format to ensure compatibility within the Openclaw Skills environment:

Component Source Description
SMTP Config JSON File Contains server, port, username, and app-specific password.
Email Body CLI/File Can be passed as a string or read from a local .md or .txt file.
Attachments File System Accepts a space-separated list of local file paths.
Retries Internal Logic Automatically tracks and manages up to 3 delivery attempts.

Aliyun Mail Advanced Features

  • Support for multiple content types including plain text, HTML, and Markdown.
  • Automatic syntax highlighting for various programming languages within Markdown code blocks.
  • File attachment support for one or more local documents (PDF, CSV, etc.).
  • Robust error handling with detailed reporting for network or authentication failures.
  • Capability to source email body content directly from external files for dynamic reporting.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*