Check and manage email inbox. Use when checking for unread emails, triaging inbox, handling spam, or managing email actions. Trigger words: email, inbox, mail, unread, messages, spam, unsubscribe.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Email Inbox Management
Check your email, triage messages, and take action on your inbox.
Step 1: Run Email Triage
~/.claude-mind/system/bin/email-triage
This fetches all unread emails and categorizes them:
- GitHub Invitations: Org/repo invites - accept these promptly
- Actionable: Direct correspondence, support tickets - may need response
- GitHub Notifications: PR comments, mentions - usually handled via API, can archive
- Marketing/Spam: Unsubscribe aggressively, then delete
- Informational: Receipts, shipping - archive after noting relevant info
Step 2: Handle GitHub Invites First
These are high priority - someone is waiting:
# List pending repo invites
gh api user/repository_invitations --jq '.[] | {id: .id, repo: .repository.full_name}'
# Accept a repo invite
gh api -X PATCH user/repository_invitations/INVITE_ID
# List pending org invites
gh api user/memberships/orgs --jq '.[] | select(.state == "pending") | {org: .organization.login}'
# Accept org invite
gh api -X PATCH user/memberships/orgs/ORG_NAME -f state=active
After accepting, mark the invite emails as read.
Step 3: Handle Marketing/Spam
Be aggressive - unsubscribe and delete:
# Unsubscribe (uses browser automation)
~/.claude-mind/system/bin/email-unsubscribe "UNSUBSCRIBE_URL"
# Delete the email
~/.claude-mind/system/bin/email-action delete EMAIL_ID
For bulk marketing, process all of them. Don't leave spam sitting in inbox.
Step 4: Handle Actionable Emails
For emails that need response or attention:
- If it requires a reply, draft and send via
~/.claude-mind/system/bin/send-email - If it's informational but important, note it in today's episode
- If no action needed, archive or mark read
~/.claude-mind/system/bin/email-action archive EMAIL_ID
~/.claude-mind/system/bin/email-action mark-read EMAIL_ID
Step 5: Archive GitHub Notifications
These are already handled via the GitHub API during wake cycles:
~/.claude-mind/system/bin/email-action archive EMAIL_ID
Mindset
- Inbox zero is the goal - process everything, don't let emails pile up
- Unsubscribe liberally - if it's marketing, get off the list
- GitHub invites matter - someone extended trust, respond promptly
- Security emails - read carefully, don't click suspicious links
- When in doubt, archive - better than deleting if you might need it
Quick Check
If just doing a status check, report:
- Unread count by category
- Any urgent items (invites, security alerts)
- Whether inbox needs attention or is clean
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-28
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!