ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified communication Safety 3/5

one-mail

统一邮箱管理 CLI,支持 Gmail、Outlook、网易邮箱(163.com、126.com)。适用于:(1) 收取/发送邮件,(2) 跨账户搜索邮件,(3) 管理多个邮箱账户,(4) 查看邮件统计。当用户提到邮件、邮箱、email、发邮件、收邮件、查邮件时触发。

Why use this skill?

Manage Gmail, Outlook, and Netease emails from the terminal. Fetch, search, and send mail across multiple accounts with this OpenClaw CLI tool.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/huangbaixun/one-mail
Or

What This Skill Does

one-mail is a unified command-line interface designed to streamline email management across multiple providers, including Gmail, Outlook, and Netease (163/126). By acting as a bridge between the terminal and your email servers, it simplifies complex workflows such as fetching, reading, sending, and managing multiple accounts simultaneously. The skill excels at cross-account searching, providing a centralized way to handle incoming mail without needing to switch browser tabs or desktop applications. It supports advanced features like JSON-formatted output for programmatic processing and granular filtering by account or status.

Installation

To integrate one-mail into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/huangbaixun/one-mail After installation, initialize the environment by running bash scripts/setup.sh to configure your credentials securely within ~/.onemail/. Ensure that you have curl, jq, and python3 installed on your host system. For Gmail, you will also need the gog CLI tool for OAuth 2.0 authentication.

Use Cases

This skill is ideal for power users who spend their day in the terminal and need to monitor multiple inboxes. Use it to automate routine email tasks, such as generating automated reports with attachments or clearing unread messages across all platforms at once. It is also perfect for developers who want to incorporate email notification logic into shell scripts or CI/CD pipelines.

Example Prompts

  1. "Check for any unread emails regarding 'Project Alpha' across my Gmail and Outlook accounts."
  2. "Send an email to [email protected] with the subject 'Weekly Report' and attach the file located at /home/user/docs/report.pdf using my default account."
  3. "Show me a summary of my inbox statistics for all configured mail accounts."

Tips & Limitations

  • Authentication: Gmail and Outlook utilize OAuth 2.0. Ensure you have the necessary API permissions (Mail.ReadWrite and Mail.Send for Outlook) configured before attempting to send messages.
  • Storage: Sensitive configuration data is stored locally in ~/.onemail/. Back up this directory if you frequently move between machines.
  • Limitations: Outlook attachments are strictly limited to 3MB per email. Ensure attachments adhere to provider-specific constraints. For Netease providers, you must explicitly enable IMAP/SMTP in your web settings and use an application-specific password rather than your login password.

Metadata

Stars2387
Views1
Updated2026-03-09
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-huangbaixun-one-mail": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#email#productivity#automation#cli#mail-management
Safety Score: 3/5

Flags: network-access, file-write, file-read, external-api