A high-performance email management skill utilizing the himalaya CLI and macOS SQLite for secure, platform-optimized mail operations.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mail
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mail using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Mail skill is a sophisticated integration for AI agents designed to handle email workflows with a focus on speed, security, and cross-platform compatibility. It provides a dual-engine approach: on macOS, it leverages direct SQLite queries against the Apple Mail database for 100x faster read performance, while offering universal IMAP/SMTP support through the himalaya CLI. This skill is a core part of the Openclaw Skills library, enabling developers to build intelligent assistants that can summarize threads, draft replies, and organize folders.
Security is at the heart of the Mail skill. It utilizes system-level credential management, such as the macOS Keychain, and strictly adheres to a draft-review-send protocol. This ensures that no emails are ever sent or deleted without explicit user confirmation, making it a reliable choice for professional environments where data integrity and privacy are paramount.
To utilize this skill within the Openclaw Skills framework, you must first install the necessary binaries. On macOS, you can use Homebrew, while Linux users can use Cargo:
# Install himalaya CLI
brew install himalaya
# Or via Cargo
cargo install himalaya
For secure credential handling on macOS, store your App Password in the Keychain:
security add-internet-password -s imap.gmail.com -a [email protected] -w 'your-app-password'
Ensure your configuration is defined in ~/.config/himalaya/config.toml to enable seamless IMAP and SMTP access.
The Mail skill interacts with local databases and CLI outputs to manage email data efficiently. Below is the primary data structure layout:
| Component | Path / Command | Data Type |
|---|---|---|
| Mail Index | ~/Library/Mail/V*/MailData/Envelope Index |
SQLite Database |
| Message Content | himalaya message read [id] |
Text/HTML/MIME |
| Metadata List | himalaya envelope list -o json |
JSON Array |
| Attachments | ~/Library/Mail/V*/MAILBOX/Messages/ |
Binary Files |
The system utilizes a strict mapping of message_id to addresses to ensure sender lookup accuracy and thread consistency.
Loading
A comprehensive digital concierge providing deep local insights for living, working, and visiting Madrid.

A comprehensive digital companion for navigating Madeira as a visitor, digital nomad, or prospective resident.

A technical guide for mastering macOS system administration, command-line nuances, and automation workflows.

A comprehensive intelligence layer for navigating Los Angeles as a visitor, resident, or professional.

A specialized skill designed to generate natural, human-sounding Malay text that avoids the robotic formality of standard AI.

A comprehensive toolkit for mastering team leadership, organizational dynamics, and management frameworks through an AI-guided interface.








































