SkillsGrove
SkillsGrove/Productivity/daxaur/openpaw/c-email

c-email

Installation

$npx skills add https://github.com/daxaur/openpaw --skill c-email
$git clone --depth 1 https://github.com/daxaur/openpaw.git /tmp/openpaw && mkdir -p ~/.claude/skills && cp -r /tmp/openpaw/skills/c-email ~/.claude/skills/c-email
Please install this Agent Skill for me: https://github.com/daxaur/openpaw/tree/a2562d1c5cb236c1e81bb550cb1045ee5302b2c0/skills/c-email — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITRead, send, search, and label email via gog (Gmail CLI) or himalaya (IMAP). Supports inbox management, drafting replies, thread viewing, and label/folder operations across Gmail and standard IMAP accounts.
The SKILL.md below is reproduced from daxaur/openpaw (commit a2562d1) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 Dax. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

This skill manages email via gog (Gmail) or himalaya (IMAP). Check availability with which gog himalaya.

Gmail — gog mail (gogcli)

gog mail list                              # List inbox messages
gog mail list --label "INBOX" --max 20
gog mail read <message-id>                 # Read a message
gog mail send --to "user@example.com" --subject "Subject" --body "Body"
gog mail reply <message-id> --body "Reply text"
gog mail search "from:alice subject:report"
gog mail search "is:unread after:2026/02/01"
gog mail label add <message-id> "Label"
gog mail label remove <message-id> "INBOX"
gog mail archive <message-id>
gog mail trash <message-id>
gog mail labels                            # List all labels
gog mail thread <thread-id>                # View full thread

IMAP — himalaya

himalaya list                              # List inbox
himalaya list -m 50                        # List last 50 messages
himalaya read <id>                         # Read message
himalaya write                             # Compose new message (interactive)
himalaya send --to "user@example.com" --subject "Subj" < body.txt
himalaya reply <id>
himalaya forward <id>
himalaya search "subject:report"
himalaya move <id> "Archive"               # Move to folder
himalaya delete <id>
himalaya folders                           # List folders
himalaya --account work list               # Use a specific account

Usage Guidelines

  • Prefer gog for Gmail accounts; prefer himalaya for non-Gmail IMAP.
  • Use gog mail search with Gmail search syntax (from:, to:, subject:, is:unread, has:attachment).
  • For sending with body content, pass the body directly or pipe a file.
  • Both tools require prior authentication setup.

Notes

  • gog requires Google OAuth configured via gog auth.
  • himalaya requires IMAP credentials in ~/.config/himalaya/config.toml.
View full license text (MIT)
MIT License

Copyright (c) 2026 Dax

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.