Enter a subject clue
Type a distinctive word such as invoice, receipt, or renewal in the Subject field. Use a short phrase when the wording is stable.
Search the subject line with subject:, then combine it with sender, date, mailbox, category, attachment, and filename filters. The builder keeps the query visible before you open Gmail.
Start with a subject term, check the generated subject: operator, and add one reliable filter at a time when the result set is too broad.
Use subject: followed by a word or phrase to focus Gmail on the subject field. The starter query subject:invoice looks for messages whose subject contains the term; it is not a full subject-line equality test.
Add other conditions with spaces, such as from:[email protected] subject:invoice or subject:"quarterly report" has:attachment. Review the generated text before opening Gmail so you can see exactly which filters are active.
Type a distinctive word such as invoice, receipt, or renewal in the Subject field. Use a short phrase when the wording is stable.
Narrow the query with an actual sender address, a date range, unread status, a mailbox location, or an attachment filter. Add conditions one at a time.
Read the generated subject: query and its explanation, correct any warning, then copy it or open the visible search in Gmail.
Replace the sample terms and addresses with your own. Click an example to copy its query text.
The subject: operator tells Gmail where the clue should be evaluated. It is useful when a common word appears in many message bodies but is meaningful in the subject line. A normal unqualified word has broader search behavior, so use subject: when the field matters.
For a phrase, keep the phrase in quotation marks after the operator, for example subject:"quarterly report". If several subject clues are acceptable, test a grouped query such as {subject:invoice subject:receipt} in Gmail and confirm the result set matches your intent.
A request such as Gmail filter subject starts with does not map to a separate starts-with control in this builder. Begin with a distinctive subject word or phrase, then inspect results rather than treating the query like a SQL prefix search.
Do not assume that an asterisk creates a general subject wildcard. If subject:invoice* produces unexpected results, remove the wildcard, use a stable word or quoted phrase, and add sender or date context. When a message seems missing, try in:anywhere and check conversation matches.
Use sender and recipient addresses, subject text, included words, an exact phrase, and comma-separated exclusions. Blank fields remain outside the query, so you can work with incomplete information.
Combine a fixed date range or rolling message age with read status, mailbox location, Gmail category, attachment presence, filename, and complete-message size limits.
The result is standard query text for Gmail’s search box. InboxQuery also describes each fragment, flags conflicting boundaries, offers one-click copying, and creates a direct Gmail search link.
Begin with the condition you know is true. That may be a sender address, a broad date window, an attachment type, or a mailbox location. Run that simple query first. When the result contains the target but is too large, add one more condition. This incremental method is easier to debug than starting with a long query made from several uncertain memories.
If a query returns nothing, remove the condition you trust least. Display names can hide a different sender address, subject wording may not be exact, categories can be assigned unexpectedly, and date boundaries can exclude messages near midnight. Switching to in:anywhere is useful when Spam or Trash may contain the message, but it does not search another account or restore permanently deleted mail.
The builder handles empty, valid, and invalid states without contacting Gmail. A blank form shows a clear empty result. A valid combination enables copy and search actions. Reversed date boundaries, non-positive age values, and an impossible size band display an error and disable the actions until the input is corrected. Gmail—not InboxQuery—decides which existing messages match the finished query.
Copying the query is useful when you want to inspect or edit it in Gmail before searching. The direct link is faster when the generated text already matches your intent. Both actions use the same visible query, and neither grants InboxQuery permission to your account. Rolling age filters change over time, while fixed dates continue to describe the same period.
A subject query is a useful first pass for invoices, receipts, renewals, alerts, and support threads, but a familiar subject can still match unrelated messages. Open representative results and confirm the account, sender, date, thread, and attachment before marking, archiving, moving, or deleting mail in bulk. Save the final query with a short description if you will reuse it.
Use subject:, followed by a word or phrase. For example, subject:invoice focuses the search on the subject field.
Use quotation marks around the phrase after subject:, such as subject:"quarterly report". This focuses the query on that phrase, but it is not a guarantee of full subject-line equality.
Yes. Put both conditions in one query, for example from:[email protected] subject:invoice. Separate conditions normally narrow the results together.
Gmail does not provide a separate starts-with field in this builder. Try the distinctive word with subject:, review the results, and add sender or date context if needed.
Do not assume that * behaves like a general wildcard for subject text. Prefer a stable word or quoted phrase, then verify the actual Gmail results.
subject: is intended to focus the condition on the subject field. Use a separate unqualified word or phrase when you also want broader message-content matching.
Operator syntax is based on Google’s official Gmail search documentation. InboxQuery is independent and does not access your account.