himalaya

Manage IMAP and SMTP email from the command line with himalaya.

1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/JEROME-PRAKASH-L/openclaw --skill himalaya-jerome-prakash-l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: himalaya
Source: https://github.com/JEROME-PRAKASH-L/openclaw/tree/main/skills/himalaya
Command: npx skills add https://github.com/JEROME-PRAKASH-L/openclaw --skill himalaya-jerome-prakash-l

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Reading, searching, and organizing email usually requires a graphical mail client, which breaks terminal-based and AI-assisted workflows. This Skill lets you perform full email operations through the himalaya CLI without leaving the shell. ## Core Features & Use Cases - Read and Search Mail: List folders and envelopes, read messages by ID, and filter by sender or subject across IMAP accounts. - Compose and Send: Write, reply, and forward messages using MML syntax for attachments, HTML bodies, and inline images. - Organize Mailboxes: Copy, move, delete messages and manage flags across multiple configured accounts. - Use Case: Ask the assistant to find all unread invoices from a vendor, read the latest one, and reply with a confirmation, all via himalaya commands. ## Quick Start Use the himalaya skill to list my unread emails and read the most recent message from [email protected].

Frequently Asked Questions about himalaya

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I read and search email from the command line?

Use himalaya envelope list to view messages and himalaya message read <id> to open one. You can filter by sender or subject, for example himalaya envelope list from [email protected] subject invoice.

How to send an email with attachments using himalaya?

Compose the message using MML syntax with <#part filename=/path/to/file.pdf> tags for attachments, then send with himalaya template send. The references/message-composition.md file documents the full MML tag syntax.

Does himalaya support Gmail and iCloud accounts?

Yes, himalaya supports Gmail and iCloud through standard IMAP and SMTP configuration. Both providers require an app-specific password when two-factor authentication is enabled, and OAuth2 authentication is also supported.

How do I manage multiple email accounts with himalaya?

Define multiple account sections in ~/.config/himalaya/config.toml and mark one as default. Switch between accounts at runtime using the --account flag, for example himalaya --account work envelope list.

Where should email passwords be stored for himalaya?

Store credentials in a password manager or system keyring rather than raw text in the config file. Use backend.auth.cmd to call tools like pass, or backend.auth.keyring after running himalaya account configure.