himalaya

Manage emails via IMAP and SMTP from the terminal using the Himalaya CLI.

Updated Mar 30, 2026
One-click install
npx skills add https://github.com/srgaba/open-claw --skill himalaya-srgaba
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: himalaya
Source: https://github.com/srgaba/open-claw/tree/main/project/skills/himalaya
Command: npx skills add https://github.com/srgaba/open-claw --skill himalaya-srgaba

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Reading, searching, and sending email usually requires a GUI client or web interface, which breaks terminal-based workflows and automation. This Skill lets you perform full email operations directly from the command line using the Himalaya CLI. ## Core Features & Use Cases - Email Management: List, read, search, move, copy, delete, and flag emails across IMAP folders and multiple accounts. - Message Composition: Write, reply, reply-all, and forward emails interactively or send templated messages, with MML syntax for attachments, HTML, and inline images. - Structured Output & Attachments: Export raw MIME messages, download attachments, and get JSON output for scripting pipelines. - Use Case: A developer wants to triage their inbox without leaving the terminal: list unread messages, reply to a specific thread, archive processed mail, and download an invoice attachment, all via scripted commands. ## Quick Start Use the himalaya skill to list the 20 most recent emails in my inbox and show me the subject and sender of each.

Frequently Asked Questions about himalaya

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

FAQPage Schema
How do I read and reply to emails from the command line?

Use himalaya envelope list to see message IDs, himalaya message read <id> to view an email, and himalaya message reply <id> to open a reply in your editor. Add --all for reply-all, or pipe a template to himalaya template send for non-interactive sending.

How to send an email with attachments from the terminal?

Compose a message using MML syntax with <#part filename=/path/to/file.pdf> tags for attachments, then send it via himalaya template send. MML compiles to proper MIME, supporting multiple attachments, HTML bodies, and inline images.

Does himalaya support Gmail and multiple email accounts?

Yes, himalaya supports multiple accounts defined in ~/.config/himalaya/config.toml, including Gmail via imap.gmail.com with an app password when 2FA is enabled. Switch accounts at runtime with the --account flag.

How do I store email passwords securely for himalaya?

Configure backend.auth.cmd to call a password manager like pass, or use backend.auth.keyring for the system keyring. Raw passwords via backend.auth.raw are supported but only recommended for testing.

Why does himalaya show wrong message IDs after switching folders?

Message IDs in himalaya are relative to the current folder listing. After moving messages or changing folders, re-run himalaya envelope list to get fresh IDs before reading or modifying messages.