技能圖譜SKILLSGROVE
技能圖譜/效率工具/daxaur/openpaw/c-email

c-email

安裝

$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
請幫我安裝這個 Agent Skill:https://github.com/daxaur/openpaw/tree/a2562d1c5cb236c1e81bb550cb1045ee5302b2c0/skills/c-email ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · 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.
以下 SKILL.md 內容轉載自 daxaur/openpaw(提交 a2562d1),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 Dax 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

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.
檢視許可證全文(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.