himalaya-email-rust

himalaya-email-rust is a skill for Claude Code from Jansen611/Agent-Skills. It costs 95 tokens per session (2,526 once invoked), scanned B, original, MIT.

A terminal tool for managing email through services such as Gmail, Microsoft accounts, IMAP mailboxes, and local mail folders. It can also handle attachments and machine-readable JSON output.

In plain words
What is it for?
Use it to list, read, send, reply to, forward, move, copy, or delete messages. It supports ordinary attachments, custom email files, and automated mailbox processing.
Why use it?
It lets developers read and send email from scripts or the command line instead of switching to a webmail application. It also provides checks for available accounts and the installed tool version.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to list, read, send, reply to, forward, move, copy, or delete messages. It supports ordinary attachments, custom email files, and automated mailbox processing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jansen611/agent-skills/himalaya-email-rust
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Jansen611/Agent-Skills --skill himalaya-email-rust
Clone the repo
git clone --depth 1 https://github.com/Jansen611/Agent-Skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for himalaya-email-rust

README.md
[![agentmods](https://agentmods.dev/badge/skills/jansen611/agent-skills/himalaya-email-rust/github.svg)](https://agentmods.dev/skills/jansen611/agent-skills/himalaya-email-rust)
Your own site
<a href="https://agentmods.dev/skills/jansen611/agent-skills/himalaya-email-rust"><img src="https://agentmods.dev/badge/skills/jansen611/agent-skills/himalaya-email-rust/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for himalaya-email-rust

Your own site · 80×15
<a href="https://agentmods.dev/skills/jansen611/agent-skills/himalaya-email-rust"><img src="https://agentmods.dev/badge/skills/jansen611/agent-skills/himalaya-email-rust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,526 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.02526
Opus 5 $0.00048 $0.01263
Sonnet 5 $0.00019 $0.00505
Haiku 4.5 $0.00010 $0.00253

Measured 11d ago against content hash d05808b6bdfd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

himalaya-email-rust scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

chmod 600 ~/.config/himalaya/config.toml ~/.config/himalaya/.env
skills/himalaya-email-rust/SKILL.md · 316 lines

How it starts

The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Himalaya Email Manager

Manage email with Himalaya v2.0.0+. Primary: built-in v2 commands. For simple email attachments, use message compose --attach. For rich MIME, signing, encryption, or custom formatting, generate a valid .eml file and pass it to message send.

All commands are stateless. Check the installed binary's --help when a command or flag is version-sensitive.

Decision

  1. Check the binary and account first: himalaya --version and himalaya account check --json.
  2. For a normal text email or ordinary attachment, use Path A (message compose).
  3. For multipart MIME or custom headers, use Path B (message send with .eml).
  4. For Gmail SMTP, do not pass --save sent unless a duplicate Sent copy is explicitly requested. Gmail normally saves sent messages automatically.
  5. For machine processing, use --json and keep the mailbox together with every message id.

Environment Check

command -v himalaya
himalaya --version
himalaya account list --json
himalaya account check --json

If Himalaya is not in PATH, check the common Cargo location:

test -x "$HOME/.cargo/bin/himalaya" && "$HOME/.cargo/bin/himalaya" --version

Install a stable release using the official release assets or installer. OAuth and secret storage are provided through external tools such as password managers and token brokers.

Official references:

Safety

  • Never print, log, or include passwords, app passwords, OAuth tokens, or .env contents.
  • Verify the recipient, subject, body, and attachment paths before sending.
  • Do not use --save sent for Gmail SMTP unless a manual Sent copy is required.
  • Use --log-level off when clean JSON output is required.

Configuration

Config files are loaded from the first valid path among:

  • $XDG_CONFIG_HOME/himalaya/config.toml
  • $HOME/.config/himalaya/config.toml
  • $HOME/.himalayarc

Read the full file on GitHub · 316 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 316 lines · 95 tokens per session scan B d05808b6bdfd

Subscribe to this mod's changes

himalaya-email-rust is a skill published in the GitHub repository Jansen611/Agent-Skills (2 stars, last pushed 12d ago), licensed MIT. It adds 95 tokens to every session and 2,526 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.