Search operators you can use with Gmail. Words or symbols called search operators to filter your Gmail search results. You can also combine operators to filter your results even more.
|
Specify the sender
|
from: Example: from:ricky |
|
Specify a recipient
|
to: Example: to:luke |
|
Specify a recipient who received a copy
|
cc: bcc:Example: cc:kesha |
|
Words in the subject line
|
subject: Example: subject:beach |
|
Messages that match multiple terms
|
OR or { } Example: from:amy OR from:david Example: {from:luke from:kesha} |
|
Remove messages from your results
|
- Example: beach -rock |
|
Find messages with words near each other. Use the number to say how many words apart the words can be
Add quotes to find messages in which the word you put first stays first. |
AROUND Example: flight AROUND 10 airport Example: "secret AROUND 25 birthday" |
|
Messages that have a certain label
|
label: Example: label:friends |
|
Messages that have an attachment
|
has:attachment Example: has:attachment |
|
Messages that have a Google Drive, Docs, Sheets, or Slides attachment or link
|
has:drive Example: has:drive |
|
Messages that have a YouTube video
|
has:youtube Example: has:youtube |
|
Messages from a mailing list
|
list: Example: list:info@example.org |
|
Attachments with a certain name or file type
|
filename: Example: Gmail-cheatsheet:pdf Example: filename:wishlist.txt |
|
Search for an exact word or phrase
|
" " Example: "wine and movie tonight" |
|
Group multiple search terms together
|
( )Example: subject:(wine movie) |
|
Messages in any folder, including Spam and Trash
|
in:anywhere Example: in:anywhere movie |
|
Search for messages that are marked as important
|
is:important label:importantExample: is:important |
|
Starred, snoozed, unread, or read messages
|
is:starred is:snoozed is:unreadis:readExample: is:read is:starred |
|
Messages that include an icon of a certain color
|
has:yellow-star has:blue-infoExample: has:purple-star |
|
Recipients in the cc or bcc field
|
cc: bcc:Example: cc:kesha Note: You can't find messages that you received on bcc. |
|
Search for messages sent during a certain time period
|
after: before: older: newer: Example: after:2004/08/28 Example: after:08/28/2004 Example: before:2004/28/08 Example: before:08/28/2004 |
|
Search for messages older or newer than a time period using d (day), m (month), and y (year)
|
older_than: newer_than:Example: newer_than:2d |
|
Chat messages
|
is:chatExample: is:chat wine |
|
Search by email for delivered messages
|
deliveredto:Example: deliveredto:username@gmail.com |
|
Messages in a certain category
|
category:primarycategory:socialcategory:promotionscategory:updates category:forums category:reservationscategory:purchasesExample: category:updates |
|
Messages larger than a certain size in bytes
|
size:Example: size:1000000 |
|
Messages larger or smaller than a certain size in bytes
|
larger: smaller:Example: larger:10M |
|
Results that match a word exactly
|
+ Example: +unicorn |
|
Messages with a certain message-id header
|
Rfc822msgid: Example: rfc822msgid:200503292@example.com |
|
Messages that have or don't have a label
|
has:userlabelshas:nouserlabels Example: has:nouserlabels Note: Labels are only added to a message, and not an entire conversation. |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.