agentsclimarketplace

Himalaya

Skill DrOlu/agent-skills/skills/himalaya

CLI email client for IMAP and SMTP. Use when reading, searching, composing, sending, or managing email via terminal. Covers account setup, envelope listing, message reading, sending raw RFC 5322 messages, folder management, attachments, flags, and multi-account configuration.From its SKILL.md

Install
npx -y skills add DrOlu/agent-skills --skill himalaya

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.7 KB, ~1.3k tokens by cl100k_base, as published. Nobody here has run it

Himalaya — CLI Email Client

Quick Start

# List recent envelopes (INBOX)
himalaya envelope list -a hyperspace

# Read a message
himalaya message read -a hyperspace 4658

# Send a message (raw RFC 5322)
cat <<'EOF' | himalaya message send -a hyperspace
From: [email protected]
To: [email protected]
Subject: Test Subject

Message body here.
EOF

# Check account health
himalaya account doctor hyperspace

Core Patterns

1. Account Configuration

Config file: ~/.config/himalaya/config.toml

Each account requires IMAP backend + SMTP send backend. See references/config-reference.md for full schema.

[accounts.hyperspace]
default = true
display-name = "Seyi"
email = "[email protected]"
message.send.save-copy = false          # Disable if server's IMAP APPEND is quirky

[accounts.hyperspace.backend]
type = "imap"
host = "mail.hyperspace.ng"
port = 993
login = "[email protected]"

[accounts.hyperspace.backend.auth]
type = "password"
raw = "YOUR_PASSWORD"

[accounts.hyperspace.backend.encryption]
type = "tls"
starttls = false

[accounts.hyperspace.message.send.backend]
type = "smtp"
host = "mail.hyperspace.ng"
port = 465
login = "[email protected]"

[accounts.hyperspace.message.send.backend.auth]
type = "password"
raw = "YOUR_PASSWORD"

[accounts.hyperspace.message.send.backend.encryption]
type = "tls"
starttls = false

[accounts.hyperspace.folder.alias]
drafts = "Drafts"
trash = "Trash"
junk = "Junk"

2. Listing Envelopes

# Default folder (INBOX), page size 10
himalaya envelope list -a hyperspace

# Specific folder
himalaya envelope list -a hyperspace --folder Sent

# Page through results
himalaya envelope list -a hyperspace --page-size 20

# JSON output for scripting
himalaya envelope list -a hyperspace -o json

3. Reading Messages

# Read full message (headers + body)
himalaya message read -a hyperspace 4658

# Read only body text
himalaya message read -a hyperspace 4658 --no-headers

# JSON output
himalaya message read -a hyperspace 4658 -o json

4. Sending Messages

Himalaya accepts raw RFC 5322 format. It does NOT have --to, --subject flags.

# Simple plain text
cat <<'EOF' | himalaya message send -a hyperspace
From: [email protected]
To: [email protected]
Subject: Hello

Body text here.
EOF

# HTML email
cat <<'EOF' | himalaya message send -a hyperspace
From: [email protected]
To: [email protected]
Subject: HTML Email
Content-Type: text/html; charset=utf-8

<h1>Hello</h1><p>This is <b>HTML</b>.</p>
EOF

# CC and Reply-To
cat <<'EOF' | himalaya message send -a hyperspace
From: [email protected]
To: [email protected]
Cc: [email protected]
Reply-To: [email protected]
Subject: With CC and Reply-To

Body text.
EOF

5. Managing Flags

# Mark as read (add Seen flag)
himalaya flag add -a hyperspace 4658 seen

# Mark as unread (remove Seen flag)
himalaya flag remove -a hyperspace 4658 seen

# Star a message
himalaya flag add -a hyperspace 4658 flagged

# Delete a message (add Deleted flag + expunge)
himalaya flag add -a hyperspace 4658 deleted

6. Folder Operations

# List all folders
himalaya folder list -a hyperspace

# Create a new folder
himalaya folder add -a hyperspace "Archive"

# Delete a folder
himalaya folder delete -a hyperspace "Archive"

Important Notes

  • message send takes raw RFC 5322 on stdin — no --to, --subject, or --body flags.
  • save-copy = false — set this if the server's IMAP APPEND to Sent folder causes "unexpected tag" errors (common with cPanel/Dovecot).
  • Password auth type is password, not passwd or plain.
  • Encryption types: tls (IMAPS/SMTPS on dedicated port) or starttls (STARTTLS on plain port).
  • Auth mechanisms: password (auto-selects PLAIN/LOGIN) or oauth2 (for Gmail/Outlook).
  • Use -o json for scripting; -o plain (default) for human output.
  • Use --debug or --trace for troubleshooting connection issues.

References

What ships with it: 3 files

20.7 KB alongside SKILL.md

Keep looking

Skills are one crate of 326,861. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.