Google mail search operators
Here are some useful Google Mail search operators that you can use to search your Gmail inbox:
Basic Operators
from:
- Search for emails from a specific sender. Example:from:[email protected]
to:
- Search for emails sent to a specific recipient. Example:to:[email protected]
subject:
- Search for emails with a specific subject. Example:subject:meeting
has:
- Search for emails with a specific keyword or phrase. Example:has:project
in:inbox
- Search for emails in your inbox. Example:in:inbox
in:spam
- Search for emails in your spam folder. Example:in:spam
in:sent
- Search for emails in your sent folder. Example:in:sent
Advanced Operators
before:
- Search for emails sent before a specific date. Example:before:2022/01/01
after:
- Search for emails sent after a specific date. Example:after:2022/01/01
larger:
- Search for emails with a specific file size. Example:larger:10M
(search for emails larger than 10MB)smaller:
- Search for emails with a specific file size. Example:smaller:1M
(search for emails smaller than 1MB)label:
- Search for emails with a specific label. Example:label:work
is:
- Search for emails with a specific status (e.g. unread, read, starred). Example:is:unread
OR
- Search for emails that contain either of two keywords. Example:project OR deadline
NOT
- Search for emails that do not contain a specific keyword. Example:project NOT deadline
()
- Use parentheses to group search terms and operators. Example:(project OR deadline) AND is:unread
Examples
from:[email protected] subject:meeting
- Search for emails from John Doe with the subject "meeting"has:project in:inbox
- Search for emails with the keyword "project" in your inboxbefore:2022/01/01 larger:10M
- Search for emails sent before January 1, 2022, and larger than 10MBlabel:work is:unread
- Search for unread emails with the label "work"
Remember to use quotes around phrases and parentheses to group search terms and operators. You can also use the site:
operator to search for emails from a specific website or domain. For example: site:example.com