Himalaya Email CLI for Openclaw

A powerful terminal-based email client supporting IMAP, SMTP, and MML for seamless, scriptable inbox management.

lamelas
v1.0.0
Jan 9, 2026
70
52k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install himalaya

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 himalaya 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 Himalaya Email CLI?

Himalaya is a modern CLI tool designed for developers and power users who prefer managing their digital correspondence without leaving the terminal environment. By supporting standard protocols like IMAP and SMTP, it provides a unified and highly responsive interface for multiple email accounts, enabling users to list, read, and compose messages with extreme efficiency. This tool is a core component for those building automated workflows within Openclaw Skills, offering a scriptable alternative to traditional GUI mail clients.

Beyond basic mail handling, Himalaya introduces advanced features like MML (MIME Meta Language) for composing complex messages and flexible backend support including Notmuch and Sendmail. Its philosophy centers on speed, security, and interoperability, making it an essential utility for anyone looking to integrate email functionality into their terminal-based developer setup.

Himalaya Email CLI Use Cases

  • Managing multiple professional and personal email accounts through a single unified terminal interface.
  • Automating email responses, notifications, or reporting via shell scripts and cron jobs.
  • Performing fast, command-line based searches and filtering of large inboxes without loading heavy web interfaces.
  • Integrating email capabilities into custom developer tools using structured JSON output from Openclaw Skills.

How Himalaya Email CLI Works

  1. The user initializes the configuration using an interactive wizard or by manually creating a TOML configuration file.
  2. Himalaya establishes secure connections to remote mail servers using IMAP for retrieving envelopes and SMTP for sending messages.
  3. The CLI fetches message metadata, allowing users to list and filter 'envelopes' locally without downloading entire message bodies until requested.
  4. When reading or writing, the tool interacts with system editors or standard input to process message content and MML tags.
  5. Changes such as flagging, moving, or deleting messages are synchronized back to the server in real-time.

Himalaya Email CLI Setup

To begin using this skill, ensure you have the binary installed and your account credentials ready.

# Install Himalaya using Homebrew
brew install himalaya

# Verify the installation
himalaya --version

# Run the interactive configuration wizard
himalaya account configure

Alternatively, you can manually create the configuration file at ~/.config/himalaya/config.toml to define your IMAP and SMTP settings.

Himalaya Email CLI Data Schema & Taxonomy

Himalaya organizes data using a structured configuration and standard email protocols. The following table describes the primary data elements handled by the skill:

Element Type Description
config.toml TOML Main configuration file defining accounts, backends, and auth commands.
Envelope Metadata Contains ID, Subject, From, and Date for message listings.
MML Format MIME Meta Language used for composing attachments and rich text.
JSON Output Structured data format available for all list and read operations.

Himalaya Email CLI Advanced Features

  • Multi-account support allowing seamless switching between different email providers with the --account flag.
  • Secure credential management through integration with system keyrings or external password managers like pass.
  • Support for MML syntax, enabling the creation of complex multi-part messages and attachments directly from the command line.
  • Structured JSON output mode for every command, facilitating deep integration with other Openclaw Skills and automated pipelines.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*