Email Mail Master for Openclaw

A comprehensive email automation tool allowing AI agents to send, receive, and manage messages across major providers like QQ, 163, and Alibaba Mail.

jaccchina-ai
v1.0.0
Mar 7, 2026
0
481
2

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install email-mail-master

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 email-mail-master 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 Email Mail Master?

Email Mail Master is a specialized integration designed to bridge the gap between AI agents and traditional email services. By utilizing this within the Openclaw Skills ecosystem, developers can empower their agents to handle complex communication tasks, from sending automated reports with attachments to monitoring inboxes for critical updates. The skill provides a unified interface for multiple Chinese email providers, ensuring high compatibility and ease of use for automated workflows.

This utility is built to be developer-friendly, offering both human-readable and machine-parseable outputs. Whether you are building a personal assistant or an enterprise notification system, incorporating this tool via Openclaw Skills ensures your agent has reliable access to SMTP, IMAP, and POP3 protocols without complex manual configuration.

Email Mail Master Use Cases

  • Sending automated status reports or documents as PDF attachments.
  • Monitoring inboxes for new messages received within a specific timeframe.
  • Bulk cleaning of mailboxes by deleting messages by ID or moving them to trash.
  • Integrating email-based triggers into larger AI agent workflows using Openclaw Skills.
  • Fetching recent emails in structured JSON format for data extraction and analysis.

How Email Mail Master Works

  1. The user configures the target mailbox credentials and authorization codes in the local configuration file.
  2. The AI agent invokes the Python script with specific subcommands like send, receive, or check-new.
  3. The skill establishes a secure connection to the provider's server (Alibaba, QQ, or 163) using the appropriate protocol.
  4. For message retrieval, the skill fetches headers and content, optionally formatting the result as JSON for the agent to process.
  5. For message delivery, it compiles the SMTP payload, handles attachments, and transmits the email to the recipient.

Email Mail Master Setup

To get started with this skill in your Openclaw Skills environment, follow these steps:

  1. Locate and edit the configuration file at skills/email/scripts/config.json to include your email address and authorization code (not your login password).
  2. Obtain an authorization code from your provider:
    • QQ Mail: Settings > Account > Enable IMAP/SMTP > Generate Auth Code.
    • 163 Mail: Settings > POP3/SMTP/IMAP > Enable Service > Set Authorization Password.
  3. Verify the installation by sending a test email:
python3 skills/email/scripts/mail.py send --to [email protected] --subject "Test" --content "Hello from Openclaw Skills"

Email Mail Master Data Schema & Taxonomy

The skill manages configuration via JSON and interacts with email metadata. The following table describes the primary data points handled when using these Openclaw Skills:

Parameter Type Description
default_mailbox String Sets the default provider (e.g., "qq" or "163")
--limit Integer Number of messages to retrieve in one session
--json Flag Returns email data in a structured JSON format
--ids List Specific email IDs for targeted deletion operations

Email Mail Master Advanced Features

  • Support for multi-mailbox switching via the --mailbox flag to manage different accounts dynamically.
  • JSON output mode specifically optimized for AI agents to parse message content without regex.
  • Protocol-aware deletion: supports soft-delete (Trash) for IMAP and permanent delete for POP3.
  • Advanced attachment handling for sending reports and files directly from the command line.
  • Time-based filtering using the --since flag to check for new mail over recent days.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*