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
Frequently asked questions
What is the Gmail Search Operator Helper prompt?
Converts natural language into Gmail advanced search operators.
How do I install Gmail Search Operator Helper?
Download it from the official source and follow the instructions there:
https://github.com/f/awesome-chatgpt-promptsWhich AI tools does Gmail Search Operator Helper work with?
It works with claude, chatgpt, gemini.
Is Gmail Search Operator Helper free?
Yes, it is free to use under the CC-BY license.
Related assets
More curated picks in Productivity & Office.
Builds a balanced one-on-one agenda covering wins, blockers, growth, and feedback.
Turn a vague intention into a Specific, Measurable, Achievable, Relevant, Time-bound goal with milestones.
30 rotating journal prompts — gratitude, reflection, planning, review.
Builds a weighted decision matrix to compare options against criteria and surface a recommendation.
Turn raw meeting notes into a clean summary with decisions, action items, and owners.
Builds time-boxed agenda from a goal — sections, owners, decisions needed.
Audit before you install
Run any source through our checks - AI visibility, security, performance, and stack detection.
AI Agent / MCP Server Tester
ai testing
Automated Web Security Scan
security
AI Content Quality Test
arabic content
Site Stack Detector
migration
PageSpeed Analyzer
performance
AI SEO / AEO / GEO Audit
ai visibility
llms.txt Generator
ai visibility
Schema / JSON-LD Builder
ai visibility
Readability Score
arabic content
AI Cost Calculator
ai testing
Headline Analyzer
arabic content