# Send Aliyun Mail to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "aliyun-mail",
    "name": "Aliyun Mail",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/jixsonwang/aliyun-mail",
    "canonicalUrl": "https://clawhub.ai/jixsonwang/aliyun-mail",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/aliyun-mail",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=aliyun-mail",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "email_sender.py",
      "example-smtp-config.json",
      "package.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/aliyun-mail"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/aliyun-mail",
    "downloadUrl": "https://openagent3.xyz/downloads/aliyun-mail",
    "agentUrl": "https://openagent3.xyz/skills/aliyun-mail/agent",
    "manifestUrl": "https://openagent3.xyz/skills/aliyun-mail/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/aliyun-mail/agent.md"
  }
}
```
## Documentation

### Aliyun Mail Skill

This skill enables sending emails through Aliyun enterprise email service with advanced features including Markdown conversion, HTML styling, file attachments, and syntax highlighting for code blocks.

### Features

Aliyun Enterprise Email Support: Optimized for Aliyun's SMTP service (smtp.mxhichina.com)
Multiple Content Types: Send plain text, Markdown, or HTML emails
Markdown with Syntax Highlighting: Automatic syntax highlighting for code blocks in Markdown
File Attachments: Include one or more files as attachments
Configuration-based: Uses a secure configuration file for SMTP credentials
Error Handling: Includes retry logic and detailed error reporting

### Prerequisites

SMTP Configuration File: Create aliyun-mail-config.json in your OpenClaw config directory (/root/.openclaw/)

Example configuration file:

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

Ensure the configuration file has secure permissions:

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

### Basic Text Email

aliyun-mail send --to "recipient@example.com" --subject "Hello" --body "This is a plain text email"

### Markdown Email with Syntax Highlighting

aliyun-mail send \\
  --to "recipient@example.com" \\
  --subject "Code Report" \\
  --body "**Check out this Python code:**\\n\\n\`\`\`python\\nprint('Hello World')\\n\`\`\`" \\
  --markdown

### HTML Email with Attachment

aliyun-mail send \\
  --to "recipient@example.com" \\
  --subject "Weekly Report" \\
  --body "<h1>Weekly Report</h1><p>See attached file.</p>" \\
  --html \\
  --attachments "/path/to/report.pdf"

### Using Body from File

aliyun-mail send \\
  --to "recipient@example.com" \\
  --subject "Report from File" \\
  --body-file "/path/to/report.md" \\
  --markdown \\
  --attachments "/path/to/data.csv"

### Command Line Options

--to: Recipient email address (required)
--subject: Email subject (required)
--body: Email body content (required if --body-file not provided)
--body-file: Path to file containing email body
--html: Send as HTML email (default: plain text)
--markdown: Send as Markdown email with syntax highlighting
--attachments: Space-separated list of file paths to attach

### Error Handling

The tool includes robust error handling with up to 3 retry attempts on failure. Network issues, authentication errors, and invalid email addresses are reported with detailed error messages.

### Security Notes

Always use app-specific passwords rather than your main email password
Keep the configuration file secure with proper file permissions
Never commit configuration files to version control

### Future Enhancements

Support for CC/BCC recipients
Email templates system
Scheduled email sending
Rich text editor integration
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: jixsonwang
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/aliyun-mail)
- [Send to Agent page](https://openagent3.xyz/skills/aliyun-mail/agent)
- [JSON manifest](https://openagent3.xyz/skills/aliyun-mail/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/aliyun-mail/agent.md)
- [Download page](https://openagent3.xyz/downloads/aliyun-mail)