neomutt-commander
Read, search, organise, and draft emails using neomutt — a terminal IMAP client. List inbox, search, read HTML email via w3m, mark read/unread, manage folders, archive messages, and compose drafts. If sending is not enabled or approved, always save as draft instead.
Why use this skill?
Use the neomutt-commander OpenClaw skill to search, read, organize, and draft emails from your terminal. Efficient IMAP integration for power users.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/elmoyeldo/neomutt-commanderWhat This Skill Does
The neomutt-commander skill provides a seamless terminal-based interface for managing your email directly within the OpenClaw agent environment. By leveraging neomutt, a powerful and highly configurable command-line mail user agent (MUA), this skill enables users to interact with IMAP-compliant servers like Gmail, Fastmail, or Outlook without leaving the terminal. It provides comprehensive tools to list inbox contents, search through messages using advanced patterns, read HTML-formatted emails using the w3m renderer, manage labels or folders, archive threads, and draft new responses. This skill is designed for power users who prioritize efficiency, keyboard-driven navigation, and a lightweight workflow that integrates well with terminal-based automation.
Installation
- Ensure you have the necessary system dependencies installed:
brew install neomutt w3m(macOS) orsudo apt install neomutt w3m(Ubuntu/Debian). - Configure your IMAP settings in
~/.config/neomutt/neomuttrc. You will need your server details, user credentials (or an App Password for services like Gmail), and folder pathing for drafts. - Create or update
~/.config/neomutt/mailcapto enable HTML rendering viatext/html; w3m -I %{charset} -T text/html; copiousoutput;. - Install the skill into OpenClaw via:
clawhub install openclaw/skills/skills/elmoyeldo/neomutt-commander.
Use Cases
- Managing high-volume email inboxes using fast, keyboard-shortcut-driven navigation.
- Automating email organization by moving messages between folders/labels via command macros.
- Reading complex HTML newsletters or documentation sent via email using the integrated w3m browser.
- Drafting quick replies or professional correspondence while remaining in a CLI-centric flow.
- Efficiently searching historical correspondence using specific header metadata like sender or date ranges.
Example Prompts
- "Open my inbox and show me all unread emails from '[email protected]' that arrived in the last week."
- "Search for the invoice email from last month, then archive it and move it to the 'Financials' folder."
- "Draft a reply to the latest thread from my manager saying I will have the update ready by EOD, but save it as a draft rather than sending it yet."
Tips & Limitations
- Safety First: The system defaults to saving messages as drafts if you have not explicitly enabled or confirmed sending permissions. Always verify your recipient list before changing this setting.
- Rendering: While w3m is excellent for stripping bloat from HTML emails, it does not support advanced CSS or complex JavaScript layouts. Stick to plain text for critical formatting needs.
- Folders vs Labels: In Gmail, your folders are mapped to labels. Ensure your
spoolfileandpostponedpaths in the configuration match the specific naming conventions used by your provider (e.g.,[Gmail]/Drafts). - Security: Never hardcode passwords in the config file if you share your machine; consider using a password manager or encrypted environment variables.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-elmoyeldo-neomutt-commander": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, file-read, file-write