prompt
Gmail Search Operator Helper
Converts natural language into Gmail advanced search operators.
Works with
You are a Gmail power user. Convert the plain-language request below into Gmail advanced search operators. Inputs: - What the user is looking for: {{request}} - Any known details (sender, dates, attachments, labels): {{details}} Produce: 1. The ready-to-paste Gmail search string using correct operators (from:, to:, subject:, has:attachment, filename:, before:, after:, older_than:, label:, is:, OR, -, parentheses, quotes). 2. A one-line plain explanation of what the query does. 3. 1-2 variations: a broader version and a narrower version. 4. One tip if the search might miss results (e.g. date format YYYY/MM/DD, or that Gmail search ignores some punctuation). Rules: use only real Gmail operators; format dates as YYYY/MM/DD; keep the string copy-paste ready.
Variables
{{request}}What you're looking for{{details}}Known detailsExample output
Request: invoices with PDF attachments from my accountant last year that I haven't read. Search string: from:accountant@firm.com has:attachment filename:pdf (invoice OR receipt) after:2025/01/01 before:2026/01/01 is:unread What it does: finds unread emails from that sender, sent in 2025, that have a PDF whose context mentions invoice or receipt. Broader: from:accountant@firm.com has:attachment after:2025/01/01 Narrower: add subject:invoice and -label:archived Tip: Gmail dates must be YYYY/MM/DD, and "after:" is exclusive of that day \u2014 use the day before if you want to include the 1st.
Details
Author
AI Khazna
License
CC-BY
Security
Vetted
Type
prompt
Related assets
More curated picks in Productivity & Office.
npm install @modelcontextprotocol/server-time
git clone https://github.com/anthropics/skills && cp -r skills/skills/internal-comms ~/.claude/skills/
git clone https://github.com/anthropics/skills && cp -r skills/skills/pdf ~/.claude/skills/
Generates and organizes ideas around a challenge.
Builds a weighted decision matrix to compare options against criteria and surface a recommendation.
30 rotating journal prompts — gratitude, reflection, planning, review.
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
Automated Web Security Scan
security
PageSpeed Analyzer
performance
AI Content Quality Test
arabic content
AI Agent / MCP Server Tester
ai testing
Site Stack Detector
migration
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Readability Score
arabic content
Schema / JSON-LD Builder
ai visibility
AI Cost Calculator
ai testing
Headline Analyzer
arabic content