Gmail Query Syntax
provos/ironcurtain
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance…
$ npx skills add AgriciDaniel/claude-email --skill email-check -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install AgriciDaniel/claude-email email-check --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/email-check .claude/skills/email-check && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .claude/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-checkType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add AgriciDaniel/claude-email --skill email-check -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install AgriciDaniel/claude-email email-check --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/email-check .agents/skills/email-check && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .agents/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgriciDaniel/claude-email --skill email-check -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install AgriciDaniel/claude-email email-check --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/email-check .cursor/skills/email-check && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .cursor/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/AgriciDaniel/claude-email.git --path skills/email-check--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add AgriciDaniel/claude-email --skill email-check -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install AgriciDaniel/claude-email email-check --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/email-check .gemini/skills/email-check && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .gemini/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install AgriciDaniel/claude-email email-checkInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add AgriciDaniel/claude-email --skill email-check -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/email-check .github/skills/email-check && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .github/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add AgriciDaniel/claude-email --skill email-check -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install AgriciDaniel/claude-email email-check --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/AgriciDaniel/claude-email.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/email-check .opencode/skills/email-check && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "email-check" agent skill from https://github.com/AgriciDaniel/claude-email/tree/main/skills/email-check into .opencode/skills/email-check/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "email-check", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
email-checkIntelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance…
Email Check is an agent skill from AgriciDaniel/claude-email. Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance, categorizes into Urgent/Important/Routine/Archive, and generates reply suggestions for top priority items. Use when the user wants to check email, review inbox, triage messages, see what's urgent, or get reply suggestions. Triggers on check email, inbox triage, what's important, email summary, unread emails, priority…
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Productivity & Automation, covering Email management. It works with Gmail and Model Context Protocol. The repository describes itself as: AI-powered email management and marketing skill for Claude Code. Inbox triage, composition, quality review, deliverability audit, automation sequences, and marketing strategy. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 182270a. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
ReadGrepGlobFrom allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Email Check loads about 2.4k tokens when it runs. Until then it costs about 133 tokens; SKILL.md has 908 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from AgriciDaniel/claude-email at commit 182270a, republished under its MIT licence (© AgriciDaniel). 908 words, ~2,416 tokens.
.claude/skills/email-check/SKILL.md (or your agent's skills folder).This sub-skill handles intelligent inbox triage by connecting to Gmail or Outlook via MCP, analyzing unread emails, scoring them by importance, categorizing them, and generating reply suggestions for high-priority items.
Check which MCP tools are available:
search_gmail_messages, get_gmail_messages_content_batch, get_gmail_thread_content, list_gmail_labelslist-mail-messages, list-mail-folder-messages, get-mail-messagePrefer Gmail if both are available (better batch operations).
For Gmail:
search_gmail_messages(query="is:unread", max_results=50)For Outlook:
list-mail-messages (defaults to recent messages, filter for unread)For Gmail:
get_gmail_messages_content_batch(message_ids=[...]) # Up to 25 at a timeIf more than 25 unread, prioritize most recent first.
For Outlook:
get-mail-message for each message (sequential)Limit to 25 emails maximum to avoid overwhelming analysis.
Apply the following scoring algorithm:
Check subject and first 200 characters for:
Parse email body for dates/deadlines:
If email-profile.md exists in parent directory:
Sum all adjustments to base score of 50. Clamp to 0-100 range.
Based on final score:
| Score Range | Category | Action |
|---|---|---|
| 85-100 | Urgent | Immediate attention, generate reply suggestions |
| 65-84 | Important | Review soon, may need action |
| 40-64 | Routine | Normal priority, review when available |
| 20-39 | Low Priority | Skim or defer |
| 0-19 | Archive | Likely noise or automated |
For emails scored 85+ (Urgent category):
get_gmail_thread_content or equivalentDo NOT draft replies if:
In these cases, output: "This email requires your personal attention: [reason]"
## Inbox Summary
**X unread emails** | Y Urgent | Z Important | W Routine | V Low Priority
### Urgent (Action Required)
| # | From | Subject | Score | Suggested Action |
|---|------|---------|-------|------------------|
| 1 | sender@domain.com | Subject line | 95 | [Reply/Review/Respond] |
| 2 | ... | ... | 88 | ... |
---
### Important
| # | From | Subject | Score | Category |
|---|------|---------|-------|----------|
| 3 | ... | ... | 78 | Meeting follow-up |
| 4 | ... | ... | 70 | Client inquiry |
---
### Routine & Low Priority
- **Routine (40-64)**: X emails - [grouped summary by sender/topic]
- **Low Priority (20-39)**: Y emails - newsletters, notifications
- **Archive (<20)**: Z emails - automated/noise
---
### Suggested Replies
#### 1. Re: [Subject] (to: sender@domain.com)
**Context:** [Why this email scored high, key points]
**Brief Option:**
> [1-2 sentence reply]
>
> [Sign-off]
**Detailed Option:**
> [Paragraph with more context/explanation]
>
> [Sign-off]
#### 2. Re: [Next urgent email]
[Repeat format]
---
### Emails Requiring Personal Attention
- **#X - [Subject]**: Needs decision on [topic]
- **#Y - [Subject]**: Requires research before responding| Signal | Score Impact | Detection |
|---|---|---|
| Direct To: address | +15 | Check To: field |
| VIP/known sender | +20 | Domain match, sent folder history |
| Active thread | +10 | Thread ID, Re: in subject |
| Urgency keywords | +15 | Subject/body scan |
| Calendar invite | +20 | .ics attachment, invite headers |
| Deadline <48h | +25 | Date parsing in body |
| Deadline <7d | +10 | Date parsing in body |
| Business relevance | +15 | Match email-profile.md topics |
| CC'd (not primary) | -10 | CC: field |
| Newsletter | -20 | Unsubscribe link, bulk headers |
| Notification | -15 | no-reply@ sender |
| Unknown sender | -10 | No thread history |
If email-profile.md exists, adapt replies to match:
Default to professional-friendly if no profile exists.
Brief Option:
Detailed Option:
If neither Gmail nor Outlook MCP is available:
Error: No email provider connected. Please ensure Gmail MCP or Outlook MCP is configured.## Inbox Summary
**0 unread emails** - Your inbox is clear!If batch fetch fails, fall back to individual message retrieval (slower but reliable).
If get_gmail_thread_content fails, draft replies based on single message only (note: "Limited context - single message view").
If exists in parent directory (../email-profile.md), use for:
Before outputting digest:
A successful email check session should:
© AgriciDaniel, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/email-check of AgriciDaniel/claude-email.
Open the folder on GitHubat commit 182270a
Email Check next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Email Check this skillAgriciDaniel/claude-email | 130 | — | ~2.4k | Automated safety check: Pass | MIT | |
| Gmail Query Syntaxprovos/ironcurtain | 612 | — | ~971 | Automated safety check: Pass | Apache-2.0 | |
| Setup Lanes Linklanes-sh/app | 273 | — | ~2.3k | Automated safety check: Pass | None | |
| Triage Inboxpedrohcgs/claude-code-my-workflow | 1.7k | — | ~2.7k | Automated safety check: Notes | MIT | |
| Ops Inboxdavepoon/buildwithclaude | 3.6k | — | ~7.2k | Automated safety check: Notes | MIT | |
| Connectorsautonomous-ai/Physical-AI-Operating-System | 381 | — | ~10k | Automated safety check: Notes | Apache-2.0 |
provos/ironcurtain
Reference for Gmail's search query syntax — operators like is:sent, newerthan:, from:, has:attachment, label:, and how they compose.
lanes-sh/app
A skill your agent uses when installing or standing up Lanes Link, the self-hostable MCP endpoint that gives an agent someone's own accounts, memory, tasks, assets, skills, identity and vault.
pedrohcgs/claude-code-my-workflow
Triage academic email and calendar (Gmail / Google Calendar via the session's MCP) into a prioritized digest plus a referee-obligations tracker — classifying referee requests, R&R and editor…
davepoon/buildwithclaude
Full inbox management across all channels — WhatsApp (wacli), Email (Gmail MCP), Slack (MCP), Telegram (user-auth MCP), Discord (webhook + REST read), Notion (MCP — comments, mentions, assigned…
autonomous-ai/Physical-AI-Operating-System
Discover and use linked third-party services (Gmail, Google Calendar, Google Drive, Notion, Figma, Asana, Linear, GitHub, Ahrefs, Facebook Fan Page and others).
sbusso/claudeclaw
Add Gmail integration to ClaudeClaw. An agent skill from sbusso/claudeclaw.
AgriciDaniel/claude-email
Generate comprehensive email marketing strategy with 90-day implementation roadmap.
AgriciDaniel/claude-email
Audits email domain deliverability setup (SPF, DKIM, DMARC, MX records, blacklists, TLS) and generates health score (0-100) with prioritized fix list.
AgriciDaniel/claude-email
Pre-send email quality review and scoring across 5 dimensions (subject line, copy quality, technical/HTML, deliverability, compliance).
AgriciDaniel/claude-email
Designs complete email automation sequences with timing, subject lines, copy, and conditional logic.
AgriciDaniel/claude-email
Comprehensive email management and marketing for any business type.
AgriciDaniel/claude-email
Compose high-converting emails using proven copy frameworks (PAS, AIDA, BAB, FAB, 4Ps).
Works with
Categories
Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance…. Email Check is an agent skill from AgriciDaniel/claude-email. Intelligent inbox triage that connects to Gmail or Outlook, scores emails by importance (0-100) using sender recognition, urgency keywords, thread depth, time sensitivity, and business relevance, categorizes into Urgent/Important/Routine/Archive, and generates reply suggestions for top priority items.
Email Check fits situations like: the user wants to check email; triage messages; see whats urgent; get reply suggestions.
Run `npx skills add AgriciDaniel/claude-email --skill email-check -a claude-code`. Or copy the skill folder (skills/email-check in AgriciDaniel/claude-email) into .claude/skills/email-check in your project. Claude Code loads it when a task matches its description.
Run `npx skills add AgriciDaniel/claude-email --skill email-check -a codex`. Or copy the skill folder (skills/email-check in AgriciDaniel/claude-email) into .agents/skills/email-check in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AgriciDaniel/claude-email --skill email-check -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/email-check, .gemini/skills/email-check, .github/skills/email-check and .opencode/skills/email-check in your project.
SKILL.md names no scripts, command-line tools or credentials: Email Check is instructions for the agent only. Its frontmatter pre-approves these tools: Read, Grep, Glob.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Email Check is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Email Check: Gmail Query Syntax (provos/ironcurtain, 612 stars), Setup Lanes Link (lanes-sh/app, 273 stars), Triage Inbox (pedrohcgs/claude-code-my-workflow, 1.7k stars) and Ops Inbox (davepoon/buildwithclaude, 3.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
AgriciDaniel (a GitHub user) maintains it in AgriciDaniel/claude-email, which has 130 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on May 23, 2026.
Source: AgriciDaniel/claude-email on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.