[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openclaw-openclaw-skills-himalaya":3},{"error":4,"detail":5,"metadata":36,"markdownContent":38,"rawMarkdown":33},false,{"repo_full_name":6,"owner":7,"repo_name":7,"repo_forks":8,"skill_path":9,"repo_stars":10,"name":11,"category_id":12,"description":13,"file_tree":14,"skill_md_content":33,"skill_id":34,"skill_key":35},"openclaw/openclaw","openclaw",62387,"skills/himalaya",323670,"himalaya",1,"CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).",[15,20],{"name":16,"path":17,"size":18,"type":19},"SKILL.md","skills/himalaya/SKILL.md",4616,"file",{"name":21,"path":22,"type":23,"children":24},"references","skills/himalaya/references","folder",[25,29],{"name":26,"path":27,"size":28,"type":19},"configuration.md","skills/himalaya/references/configuration.md",4084,{"name":30,"path":31,"size":32,"type":19},"message-composition.md","skills/himalaya/references/message-composition.md",3799,"---\nname: himalaya\ndescription: \"CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).\"\nhomepage: https://github.com/pimalaya/himalaya\nmetadata:\n  {\n    \"openclaw\":\n      {\n        \"emoji\": \"📧\",\n        \"requires\": { \"bins\": [\"himalaya\"] },\n        \"install\":\n          [\n            {\n              \"id\": \"brew\",\n              \"kind\": \"brew\",\n              \"formula\": \"himalaya\",\n              \"bins\": [\"himalaya\"],\n              \"label\": \"Install Himalaya (brew)\",\n            },\n          ],\n      },\n  }\n---\n\n# Himalaya Email CLI\n\nHimalaya is a CLI email client that lets you manage emails from the terminal using IMAP, SMTP, Notmuch, or Sendmail backends.\n\n## References\n\n- `references/configuration.md` (config file setup + IMAP/SMTP authentication)\n- `references/message-composition.md` (MML syntax for composing emails)\n\n## Prerequisites\n\n1. Himalaya CLI installed (`himalaya --version` to verify)\n2. A configuration file at `~/.config/himalaya/config.toml`\n3. IMAP/SMTP credentials configured (password stored securely)\n\n## Configuration Setup\n\nRun the interactive wizard to set up an account:\n\n```bash\nhimalaya account configure\n```\n\nOr create `~/.config/himalaya/config.toml` manually:\n\n```toml\n[accounts.personal]\nemail = \"you@example.com\"\ndisplay-name = \"Your Name\"\ndefault = true\n\nbackend.type = \"imap\"\nbackend.host = \"imap.example.com\"\nbackend.port = 993\nbackend.encryption.type = \"tls\"\nbackend.login = \"you@example.com\"\nbackend.auth.type = \"password\"\nbackend.auth.cmd = \"pass show email/imap\"  # or use keyring\n\nmessage.send.backend.type = \"smtp\"\nmessage.send.backend.host = \"smtp.example.com\"\nmessage.send.backend.port = 587\nmessage.send.backend.encryption.type = \"start-tls\"\nmessage.send.backend.login = \"you@example.com\"\nmessage.send.backend.auth.type = \"password\"\nmessage.send.backend.auth.cmd = \"pass show email/smtp\"\n```\n\n## Common Operations\n\n### List Folders\n\n```bash\nhimalaya folder list\n```\n\n### List Emails\n\nList emails in INBOX (default):\n\n```bash\nhimalaya envelope list\n```\n\nList emails in a specific folder:\n\n```bash\nhimalaya envelope list --folder \"Sent\"\n```\n\nList with pagination:\n\n```bash\nhimalaya envelope list --page 1 --page-size 20\n```\n\n### Search Emails\n\n```bash\nhimalaya envelope list from john@example.com subject meeting\n```\n\n### Read an Email\n\nRead email by ID (shows plain text):\n\n```bash\nhimalaya message read 42\n```\n\nExport raw MIME:\n\n```bash\nhimalaya message export 42 --full\n```\n\n### Reply to an Email\n\nInteractive reply (opens $EDITOR):\n\n```bash\nhimalaya message reply 42\n```\n\nReply-all:\n\n```bash\nhimalaya message reply 42 --all\n```\n\n### Forward an Email\n\n```bash\nhimalaya message forward 42\n```\n\n### Write a New Email\n\nInteractive compose (opens $EDITOR):\n\n```bash\nhimalaya message write\n```\n\nSend directly using template:\n\n```bash\ncat \u003C\u003C 'EOF' | himalaya template send\nFrom: you@example.com\nTo: recipient@example.com\nSubject: Test Message\n\nHello from Himalaya!\nEOF\n```\n\nOr with headers flag:\n\n```bash\nhimalaya message write -H \"To:recipient@example.com\" -H \"Subject:Test\" \"Message body here\"\n```\n\n### Move/Copy Emails\n\nMove to folder:\n\n```bash\nhimalaya message move 42 \"Archive\"\n```\n\nCopy to folder:\n\n```bash\nhimalaya message copy 42 \"Important\"\n```\n\n### Delete an Email\n\n```bash\nhimalaya message delete 42\n```\n\n### Manage Flags\n\nAdd flag:\n\n```bash\nhimalaya flag add 42 --flag seen\n```\n\nRemove flag:\n\n```bash\nhimalaya flag remove 42 --flag seen\n```\n\n## Multiple Accounts\n\nList accounts:\n\n```bash\nhimalaya account list\n```\n\nUse a specific account:\n\n```bash\nhimalaya --account work envelope list\n```\n\n## Attachments\n\nSave attachments from a message:\n\n```bash\nhimalaya attachment download 42\n```\n\nSave to specific directory:\n\n```bash\nhimalaya attachment download 42 --dir ~/Downloads\n```\n\n## Output Formats\n\nMost commands support `--output` for structured output:\n\n```bash\nhimalaya envelope list --output json\nhimalaya envelope list --output plain\n```\n\n## Debugging\n\nEnable debug logging:\n\n```bash\nRUST_LOG=debug himalaya envelope list\n```\n\nFull trace with backtrace:\n\n```bash\nRUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope list\n```\n\n## Tips\n\n- Use `himalaya --help` or `himalaya \u003Ccommand> --help` for detailed usage.\n- Message IDs are relative to the current folder; re-list after folder changes.\n- For composing rich emails with attachments, use MML syntax (see `references/message-composition.md`).\n- Store passwords securely using `pass`, system keyring, or a command that outputs the password.\n","b04cdbe9-709b-552b-abff-52caba4a4dae","openclaw-openclaw-skills-himalaya",{"name":11,"description":13,"homepage":37},"https://github.com/pimalaya/himalaya","\u003Ch1>Himalaya Email CLI\u003C/h1>\n\u003Cp>Himalaya is a CLI email client that lets you manage emails from the terminal using IMAP, SMTP, Notmuch, or Sendmail backends.\u003C/p>\n\u003Ch2>References\u003C/h2>\n\u003Cul>\n\u003Cli>\u003Ccode>references/configuration.md\u003C/code> (config file setup + IMAP/SMTP authentication)\u003C/li>\n\u003Cli>\u003Ccode>references/message-composition.md\u003C/code> (MML syntax for composing emails)\u003C/li>\n\u003C/ul>\n\u003Ch2>Prerequisites\u003C/h2>\n\u003Col>\n\u003Cli>Himalaya CLI installed (\u003Ccode>himalaya --version\u003C/code> to verify)\u003C/li>\n\u003Cli>A configuration file at \u003Ccode>~/.config/himalaya/config.toml\u003C/code>\u003C/li>\n\u003Cli>IMAP/SMTP credentials configured (password stored securely)\u003C/li>\n\u003C/ol>\n\u003Ch2>Configuration Setup\u003C/h2>\n\u003Cp>Run the interactive wizard to set up an account:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya account configure\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Or create \u003Ccode>~/.config/himalaya/config.toml\u003C/code> manually:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">toml\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-plaintext\">[accounts.personal]\nemail = &quot;you@example.com&quot;\ndisplay-name = &quot;Your Name&quot;\ndefault = true\n\nbackend.type = &quot;imap&quot;\nbackend.host = &quot;imap.example.com&quot;\nbackend.port = 993\nbackend.encryption.type = &quot;tls&quot;\nbackend.login = &quot;you@example.com&quot;\nbackend.auth.type = &quot;password&quot;\nbackend.auth.cmd = &quot;pass show email/imap&quot;  # or use keyring\n\nmessage.send.backend.type = &quot;smtp&quot;\nmessage.send.backend.host = &quot;smtp.example.com&quot;\nmessage.send.backend.port = 587\nmessage.send.backend.encryption.type = &quot;start-tls&quot;\nmessage.send.backend.login = &quot;you@example.com&quot;\nmessage.send.backend.auth.type = &quot;password&quot;\nmessage.send.backend.auth.cmd = &quot;pass show email/smtp&quot;\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Common Operations\u003C/h2>\n\u003Ch3>List Folders\u003C/h3>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya folder list\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>List Emails\u003C/h3>\n\u003Cp>List emails in INBOX (default):\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya envelope list\u003C/code>\u003C/pre>\u003C/div>\u003Cp>List emails in a specific folder:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya envelope list --folder \u003Cspan class=\"hljs-string\">&quot;Sent&quot;\u003C/span>\u003C/code>\u003C/pre>\u003C/div>\u003Cp>List with pagination:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya envelope list --page 1 --page-size 20\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Search Emails\u003C/h3>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya envelope list from john@example.com subject meeting\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Read an Email\u003C/h3>\n\u003Cp>Read email by ID (shows plain text):\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message \u003Cspan class=\"hljs-built_in\">read\u003C/span> 42\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Export raw MIME:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message \u003Cspan class=\"hljs-built_in\">export\u003C/span> 42 --full\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Reply to an Email\u003C/h3>\n\u003Cp>Interactive reply (opens $EDITOR):\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message reply 42\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Reply-all:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message reply 42 --all\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Forward an Email\u003C/h3>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message forward 42\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Write a New Email\u003C/h3>\n\u003Cp>Interactive compose (opens $EDITOR):\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message write\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Send directly using template:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">\u003Cspan class=\"hljs-built_in\">cat\u003C/span> &lt;&lt; \u003Cspan class=\"hljs-string\">&#x27;EOF&#x27;\u003C/span> | himalaya template send\nFrom: you@example.com\nTo: recipient@example.com\nSubject: Test Message\n\nHello from Himalaya!\nEOF\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Or with headers flag:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message write -H \u003Cspan class=\"hljs-string\">&quot;To:recipient@example.com&quot;\u003C/span> -H \u003Cspan class=\"hljs-string\">&quot;Subject:Test&quot;\u003C/span> \u003Cspan class=\"hljs-string\">&quot;Message body here&quot;\u003C/span>\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Move/Copy Emails\u003C/h3>\n\u003Cp>Move to folder:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message move 42 \u003Cspan class=\"hljs-string\">&quot;Archive&quot;\u003C/span>\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Copy to folder:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message copy 42 \u003Cspan class=\"hljs-string\">&quot;Important&quot;\u003C/span>\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Delete an Email\u003C/h3>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya message delete 42\u003C/code>\u003C/pre>\u003C/div>\u003Ch3>Manage Flags\u003C/h3>\n\u003Cp>Add flag:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya flag add 42 --flag seen\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Remove flag:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya flag remove 42 --flag seen\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Multiple Accounts\u003C/h2>\n\u003Cp>List accounts:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya account list\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Use a specific account:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya --account work envelope list\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Attachments\u003C/h2>\n\u003Cp>Save attachments from a message:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya attachment download 42\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Save to specific directory:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya attachment download 42 --\u003Cspan class=\"hljs-built_in\">dir\u003C/span> ~/Downloads\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Output Formats\u003C/h2>\n\u003Cp>Most commands support \u003Ccode>--output\u003C/code> for structured output:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">himalaya envelope list --output json\nhimalaya envelope list --output plain\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Debugging\u003C/h2>\n\u003Cp>Enable debug logging:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">RUST_LOG=debug himalaya envelope list\u003C/code>\u003C/pre>\u003C/div>\u003Cp>Full trace with backtrace:\u003C/p>\n\u003Cdiv class=\"md-code-block\">\u003Cdiv class=\"md-code-lang\">bash\u003C/div>\u003Cpre>\u003Ccode class=\"hljs language-bash\">RUST_LOG=trace RUST_BACKTRACE=1 himalaya envelope list\u003C/code>\u003C/pre>\u003C/div>\u003Ch2>Tips\u003C/h2>\n\u003Cul>\n\u003Cli>Use \u003Ccode>himalaya --help\u003C/code> or \u003Ccode>himalaya &lt;command&gt; --help\u003C/code> for detailed usage.\u003C/li>\n\u003Cli>Message IDs are relative to the current folder; re-list after folder changes.\u003C/li>\n\u003Cli>For composing rich emails with attachments, use MML syntax (see \u003Ccode>references/message-composition.md\u003C/code>).\u003C/li>\n\u003Cli>Store passwords securely using \u003Ccode>pass\u003C/code>, system keyring, or a command that outputs the password.\u003C/li>\n\u003C/ul>\n"]