GMAIL – Pesquisa avançada com operadores

Umas das dificuldades mais comuns que temos na Expert é buscar algum email perdido. Nessa cultura de tudo ser enviado por email, nós temos uma imensa base de dados com informações e conteúdos diversos. A forma padrão de pesquisar é simplesmente digitar algumas palavras-chave na barra de busca do email. Ao longo do tempo percebi que isso não era eficiente e passei a usar alguns operadores que ajudam muito na busca. Por exemplo, ao tentar resgatar um email enviado por Rolo basta colocar na busca from:everton.silva@expert.com.br . Por sua vez, podemos combinar operadores e acrescentar alguma palavra que estava no assunto do email usando o operador subject:Gandhy. Se eu tiver certeza que havia um anexo no email, posso acrescentar o operador has:attachment. Nesse exemplo, minha busca seria:

from:everton.silva@expert.com.br subject:Gandhy has:attachment

A maioria dos operadores pode ser usada através do atalho na barra de busca (setinha pra baixo no canto inferior direito): Mostrar opções de busca. Se sua pesquisa avançada não for satisfeita com essas opções consulte a lista completa de operadores. Dica: Para limpar a caixa de email que está ficando cheia, use o operador larger:10MB e exclua os emails com anexos enormes e desnecessários!

Para ver uma lista de operadores oficiais :

http://support.google.com/mail/bin/answer.py?hl=en&answer=7190

Há também uma lista extra-oficial de novos operadores:

http://googlesystem.blogspot.com.br/2012/11/new-gmail-search-operators.html

Para garantir, seguem os conteúdos copiados das fontes citadas acima:

Operator

Definition

from: Used to specify the sender
to: Used to specify a recipient
subject: Search for words in the subject line
OR Search for messages matching term A or term B*
*OR must be in all caps

(hyphen)
Used to exclude messages from your search
label: Search for messages by label
has:attachment Search for messages with an attachment
list: Search for messages on mailing lists
filename: Search for an attachment by name or type
” “
(quotes)
Used to search for an exact phrase*
*Capitalization isn’t taken into consideration
( ) Used to group words
Used to specify terms that shouldn’t be excluded
in:anywhere Search for messages anywhere in Gmail*
*Messages inSpam andTrash are excluded from searches by default
in:inbox
in:trash
in:spam
Search for messages inInboxTrash, or Spam
is:important
label:important
Search within messages that Priority Inboxconsiders important.
is:starred
is:unread
is:read
Search for messages that are starred, unread, or read
has:yellow-star
has:red-star
has:orange-star
has:green-star
has:blue-star
has:purple-star
has:red-bang
has:orange-guillemet
has:yellow-bang
has:green-check
has:blue-info
has:purple-question
Search for messages with a particular star
cc:
bcc:
Used to specify recipients in the cc: orbcc: fields*
*Search on bcc: cannot retrieve messages on which you were blind carbon copied
after:
before:
older:
newer:
Search for messages sent or received during a certain period of time
(using the date format yyyy/mm/dd)
older_than
newer_than
Similar toolder andnewer, but allows relative dates using d,m, and y fordaymonth, and year
is:chat Search for chat messages
deliveredto: Search for messages within a particular email address in the Delivered-To line of the message header
circle: Search for messages that were sent from someone who you added to a particular Google+ circle
has:circle Search for all messages that were sent from someone who you added to your Google+ circles
size: Search for messages larger than the specified size in bytes
larger:
smaller:
Similar tosize: but allows abbreviations for numbers
+
(plus sign)
Match the search term exactly
rfc822msgid: Find a message by the message-id header
has:userlabels
has:nouserlabels
Search for messages that have and have not had labels that you created applied to them.
NOTE: Gmail applies labels to individual messages, not to conversation threads.

Seguem os novos operadores:

– size: lets you “search for messages larger than the specified size in bytes”. For example, search for [size:512000] to find messages larger than 500 KB (1 KB = 1024 bytes). It’s important to note that MIME encoding adds 33% overhead, so you may find a message that only includes a 400 KB attachment when you search for [size:512000].

– larger:smaller: are similar to size:, but they allow abbreviations like K, M for KB, MB. Some examples: [smaller:1M] (messages smaller than 1MB), [larger:500K] (messages larger than 500KB). You can also use larger_than: and smaller_than:.

– older_thannewer_than are great for restricting Gmail results to recent or old messages. They allow to find messages older than 2 years (older_than:2y), older than 5 months (older_than:5m), but also messages sent within the past month (newer_than:1m) or the past 3 days (newer_than:3d).

– has:userlabelshas:nouserlabels are useful for finding messages that have or lack user-defined labels. Obviously, this excludes system labels like spamchatinbox,allmail and smart labels. You’ll probably see a lot of conversations that have user-defined labels when you search for [has:nouserlabels] and that’s because “Gmail applies labels to individual messages. In this case, another message in the same conversation thread has had a label applied to it.”

– + (plus sign) added before a word excludes messages that match related words. For example, when you search for [start], Gmail also shows messages that include the word “starting”. Change your query to [+start] and you’ll only find messages that match the search term exactly. Another example: [+engineers] doesn’t return search results that include “engineer”. This operator used to be available in Google search, but it’s now used for Google+ results and you need to use quotes for exact matches.

– rfc822msgid: is a more advanced operator that lets you find a message by the message-id header.

Now Gmail users who hit the storage limit can finally find the messages that have large attachments and delete them. They can search for [larger:5M], [larger:10M] or [larger:10M older_than:2y] and quickly delete the messages that are no longer useful.