How to filter Gmail emails on Android in an advanced way

  • Master operators such as from, subject, before/after, and has for precise searches.
  • Use the new filter bar on Android to narrow down by contact, date, and attachments.
  • Combine criteria (OR, AND, AROUND, exclusions) to reduce noise.
  • Find large emails and free up space with larger, filename, and has:attachment.

How to filter emails in Gmail for Android

For a long time, the Gmail app for Android allowed you to enter search commands but without a clear interface to narrow them down. Google has started rolling out an advanced filter bar. which makes it easy to filter emails by name, date, or attachments, adding to the powerful operators you already know from the web version. Plus, cleaning up heavy emails is a quick way to reclaim space on your Google storage, and These filters are perfect for locating the ones that take up the most space.

Advanced email filtering in Gmail for Android: What's new?

New in Android is a contextual toolbar that appears after a search. From there you can limit results by contact, by time interval and by the presence of attachments., just like on the web but without having to remember all the commands.

When filtering emails by who they were sent to or who sent them, You can choose between suggested contacts or write multiple recipients to further refine. The goal is to stop relying on relevance sorting and focus on results for people or ranks that interest you.

This bar is being rolled out gradually to all accounts, both personal and business. It may take days or weeks to appear on your phone., since Google activates it in phases, but in the meantime you can always use the power of the operators in the search box.

Learn about Gmail's confidential mode
Related article:
Gmail on Android: Customize your swipe and gain productivity

Search by sender and recipients: from, to, cc and bcc

To find messages based on who sent them, the key operator is from:. It is used to locate emails from a specific person., including your own account using from:me (see how to configure them) . Useful examples:

  • from:me to see what you have sent.
  • from:amy@example.com for everything Amy sent you.

If you want to filter emails by recipients, use to:. With to:me you will see what they sent to you, and with a specific address you better define:

  • to:me shows everything that arrived in your inbox.
  • to:john@example.com find messages sent to John.

To find threads where someone was copied, you can use cc: y bcc:. This is how you find messages that include specific people in the Cc and Bcc fields.:

  • cc:john@example.com for conversations with John in copy.
  • bcc:david@example.com for shipments where David was in Cco.

How to filter emails in Gmail for Android

Filter by subject: subject

When the title of the email is what you remember, subject: is your ally. Search for emails that include words or phrases in the subject line. without affecting the body of the message:

  • subject:dinner find subjects containing “dinner”.
  • subject:anniversary party limits to threads whose subject includes that phrase.

Temporal range: before, after, older, newer

For specific periods, Gmail accepts after: y before: with two date formats, both AAAA/MM/DD , the MM/DD/AAAA. This allows you to cover exact days or large intervals..

Valid examples of dates you can use:

  • after:2004/04/16 o after:04/16/2004 for emails after that date.
  • before:2004/04/18 o before:04/18/2004 for prior to that day.

If you prefer relative periods, use older_than: y newer_than: with a suffix of days, months or years: d, m o y. It is very convenient for searches such as “more than a year” or “last 48 hours”:

  • older_than:1y emails older than one year.
  • newer_than:2d messages from the last two days.

Combine criteria: OR, braces, AND, exclusions and proximity

Gmail allows you to combine conditions in several ways. With OR (or with keys { }) you can search for emails that meet one or another criteria:

  • from:amy OR from:david displays messages from Amy or David.
  • {from:amy from:david} does the same thing using braces.

If you need all the conditions to be met simultaneously, use AND. With this the search becomes more strict:

  • from:amy AND to:david messages Amy sent to David.

To exclude terms, the hyphen - It is the Swiss Army knife. It is used to remove noise from your results.:

  • dinner -movie matters/bodies with “dinner” but without “movie”.

And if you want to find words that are close to each other, you have AROUND, which accepts a distance number in words. You can add quotes to force the order of appearance when you need it:

  • holiday AROUND 10 vacation terms to a maximum of 10 words.
  • "secret AROUND 25 birthday" The word “secret” appears before “birthday”.

Labels and categories: label and category

If you organize with tags, the operator label: takes you straight. Perfect for filtering by your own tags:

  • label:friends shows the “friends” label.
  • label:important for your “important” label.

Inbox categories can also be viewed. With category: you limit yourself to one type of email like Social or Promotions:

  • category:primary Home, category:social Socials, category:promotions Special offers
  • category:updates Notifications, category:forums Forums
  • category:reservations Booking, category:purchases Purchases

Attachments, Drive, Docs and more: you have

Looking for messages with files or embedded content? The umbrella is has:. It works for attachments, YouTube videos, and Google Drive content.:

  • has:attachment with at least one attachment.
  • has:youtube messages with YouTube videos.
  • has:drive any shared Drive file.
  • has:document Google documents, has:spreadsheet Leaves, has:presentation Presentations.

Distribution lists and newsletters: list

To filter mailing list submissions, use list:. It is especially useful for newsletters or groups:

  • list:info@example.com everything that comes from that list.

Attachment name or type: filename

If you remember the file type or its name, filename: gets you out of trouble. Ideal for finding PDFs, images or specific documents:

  • filename:pdf all emails with PDF attachments.
  • filename:homework.txt exact file “homework.txt”.

Exact phrase and grouping: quotation marks and parentheses

To locate exact text, use quotation marks. With » » you will search for the phrase as is inside the email:

  • "dinner and movie tonight" exact phrase match.

And to group several terms, use parentheses. This helps to combine searches in the same field as the subject:

Spam in Gmail
Related article:
Gmail Android: How to mark spam or move emails to other folders
  • subject:(dinner movie) Subjects containing “dinner” or “movie”.

Where to search: Account-wide, Archived, or Snoozed

To track in any corner, including Spam and Trash, do you have in:anywhere. Use it with a term to scan the entire account:

  • in:anywhere movie search for “movie” in any folder.

If you usually archive, in:archive focuses you on what you got out of the inbox (see how to create a folder). Very practical for reminders and receipts:

  • in:archive payment reminder payments archived with “reminder”.

For snoozed messages, in:snoozed is your filter. Easily locate what you left for later:

  • in:snoozed birthday reminder postponed related to a birthday.

Silenced and states: is and has

When a thread is muted, you can find it with is:muted. Use it alone or combined with other criteria such as subject:

  • is:muted subject:team celebration silenced conversations about celebrations.

The operator is: also filters by status: important, featured, or read/unread. They are essential for checking pending items:

  • is:important marked as important, is:starred figures
  • is:unread not read, is:read read

If you use the advanced stars and symbols, you can filter by each type with has:. This allows you to retrieve messages based on the specific icon. that you gave them:

  • has:yellow-star, has:orange-star, has:red-star, has:purple-star, has:blue-star, has:green-star
  • has:red-bang, has:orange-guillemet, has:yellow-bang, has:green-check, has:blue-info, has:purple-question

You can even combine them: has:yellow-star OR has:purple-question to cover several icons in one go.

Actual recipient: deliveredto

If you manage aliases or multiple accounts (see how to add any email), deliveredto: It tells you exactly which address an email arrived at. Very useful in shared or forwarded mailboxes:

  • deliveredto:username@example.com shows everything that landed in that direction.

Limit by size: size, larger, smaller

To free up space quickly, filter by size. size: accepts exact bytes, while larger: y smaller: They admit suffixes like M:

  • size:1000000 exactly 1.000.000 bytes.
  • larger:10M emails of 10 MB or more.

Exact word matching and messages by ID

To match a term literally, add the operator + before the word. Avoid being ignored for being too common or variations:

  • +unicorn search exactly “unicorn”.

There is also rfc822msgid: to find emails by message ID in headers. It's a surgical search when you know that identifier.:

  • rfc822msgid:200503292@example.com locate that specific message.

Messages tagged by user: has:userlabels

Gmail differentiates between messages that you labeled or not. Usa has:userlabels to see those with labels y has:nouserlabels for those who don't:

  • has:userlabels only messages with labels.
  • has:nouserlabels only messages without labels.

Email with client-side encryption

If your organization uses client-side encryption, these messages are labeled. With label:encryptedmail you find the emails sent with CSE In a direct way:

  • label:encryptedmail limits those encrypted messages.

Practical combinations for everyday life

Finding someone's emails with large attachments this year can be as simple as mixing operators. To combine from:, has:attachment and dates leave you the filter ready:

  • from:amy@example.com has:attachment newer_than:6m recent emails with attachments from Amy.
  • larger:10M -in:spam large files excluding spam.

To focus on pending tasks, mix statuses with subjects or labels. This is how you make a “focus” layup on the fly:

  • is:unread subject:(invoice payment) in:anywhere unread invoices in any folder.
  • label:important has:drive newer_than:30d Important Drive elements from the last month.

If you collaborate with multiple teams, filter emails by multiple senders with OR and group with parentheses if necessary. This reduces noise and gives you context.:

  • (from:amy OR from:david) subject:(report review) reports and reviews by Amy or David.

Tips for using filters on Android

In the app, first type your term or person and let the filter bar appear. Then tap the contact, date, or attachment filter to narrow down without typing operators. if you prefer the visual.

If you haven't received the Android filter yet, that's okay: All operators work the same in the app search., so you can type them in. You can combine several into a single query, just like you would on the web.

To clean up space quickly from your mobile, start by larger: y has:attachment. Add filename:pdf o filename:zip if you know that those weigh more and check what you don't need.

When searching for dates in mobility, relative dates are gold: newer_than:2w o older_than:1y avoid having to remember exact days and they serve you for periodic review lists.

More examples ready to copy

To find old emails from a forum or newsletter, filter emails by list and age. It is a miracle cure for cleaning bulletins.:

  • list:info@example.com older_than:6m newsletters from more than six months ago.

If you're looking for a conversation with a specific phrase, remember the quotation marks. Exact match reduces false positives:

  • "dinner and movie tonight" only messages with that literal phrase.

To find emails anywhere, including soft-deleted ones, combine in:anywhere with other terms. Helps you rescue “lost” emails:

  • in:anywhere subject:(anniversary party) across the entire account, including Trash.

If you miss a conversation because it's muted, add the status. This way, nothing is hidden from you. between notifications:

  • is:muted from:john@example.com John's silenced threads.

Small good practices

Save frequently used searches as browser bookmarks on your mobile device or jot them down in quick notes. Reusing complex queries saves you time, especially if you manage multiple projects.

Agree on star labels and symbols with your team. If you all use, for example, has:green-check for “done”, searching for task status is a piece of cake.

Review monthly with size and age filters: larger:5M older_than:1y It will show you candidates to delete, and if you join it to has:attachment you will find the ones that take up the most space.

When in doubt between operators, go from less to more. Start with a criterion (sender) and add dates or attachments until reaching manageable results.

How to generate v in Gmail with the help of Gemini
Related article:
How to fix problems signing in to Gmail on Android

Operators, at a glance, with examples

Below is a complete rundown of key operators as they work in Gmail, with examples ready for you to try. Use them as is or combine them according to your needs:

  • Sender: from:me, from:amy@example.com
  • Addresses: to:me, to:john@example.com
  • Copy: cc:john@example.com, bcc:david@example.com
  • Subject: subject:dinner, subject:anniversary party
  • Absolute dates: after:2004/04/16, before:04/18/2004
  • Relative dates: older_than:1y, newer_than:2d
  • OR / braces: from:amy OR from:david, {from:amy from:david}
  • AND: from:amy AND to:david
  • Delete: dinner -movie
  • Closeness: holiday AROUND 10 vacation, "secret AROUND 25 birthday"
  • Golden Label: label:friends, label:important
  • Categories: category:primary, category:social, category:promotions, category:updates, category:forums, category:reservations, category:purchases
  • Attachments and Drive: has:attachment, has:youtube, has:drive, has:document, has:spreadsheet, has:presentation
  • Subscriber lists: list:info@example.com
  • Filename: filename:pdf, filename:homework.txt
  • exact phrase: "dinner and movie tonight"
  • Group: subject:(dinner movie)
  • Search all: in:anywhere movie
  • Archived: in:archive payment reminder
  • Postponed: in:snoozed birthday reminder
  • silenced: is:muted subject:team celebration
  • States: is:important, is:starred, is:unread, is:read
  • Advanced Stars: has:yellow-star, has:orange-star, has:red-star, has:purple-star, has:blue-star, has:green-star, has:red-bang, has:orange-guillemet, has:yellow-bang, has:green-check, has:blue-info, has:purple-question
  • Combined stars: has:yellow-star OR has:purple-question
  • Delivered to: deliveredto:username@example.com
  • Size: size:1000000, larger:10M, smaller: also available
  • Exact word: +unicorn
  • Message ID: rfc822msgid:200503292@example.com
  • With/without user tags: has:userlabels, has:nouserlabels
  • CSE encryption: label:encryptedmail

With this mental toolbox and the app's new filter bar, finding what you're looking for is no longer a matter of luck. Combine senders, dates and attachments, and rely on categories or labels when you need precision. If you get used to two or three master queries, cleaning, reviewing, and retrieving emails becomes a matter of a minute. Share this guide so more people can learn how to filter emails in Gmail for Android..