gmail-search interview questions
Top gmail-search frequently asked interview questions
I want to use Gmail's search to find all my empty replies or drafts (mostly because I quite frequency click in the reply text area and create a new draft without meaning to).
To test this out I created two draft emails, one with nothing at all (no subject, addressee, content, not even spaces), and one whose contents are asdf
and searched for them like this:
How do I search in order to return ONLY the completely empty drafts?
Source: (StackOverflow)
Sometimes I am searching for messages from a specific sender and when I get the results and select all messages I cannot move them to "Folders". I can only move them to "Labels" which is not what I want because they will appear in "Labels" and in the Inbox as well which defeats the purpose of organizing messages in folders. How do I do what I want?
Also how do I sort messages by "Unread" in inbox and in search results? I also would like to sort by "Date" after sorting by "Unread".
Source: (StackOverflow)
When I search, for example, "something label:somelabel" I get 1000 results paginated by 25 (my settings). 'Select all' selects only the 25 on the current page, I would like to delete all of them (1000). How to do it? I guess I could specify a filter to perform this search, delete the messages and apply this filter, but I have many queries and making filters for all would be PITA.
Source: (StackOverflow)
I would like to find the first mail by every Gmail contact I got mails from.
So the pseudo filter would be:
- get all mails
- group by from-address
- filter each group to show the first mail
- sort the query by time-stamp (DESC)
Is this somehow possible with the Gmail search function or otherwise?
Source: (StackOverflow)
Is it possible to limit Gmail search results to unread messages? This isn't about selecting unread questions from existing search results, which is covered in this question. I'm looking for a search flag that works for unread messages the way label:NAME_OF_LABEL
does for labels.
Source: (StackOverflow)
As the title suggests, I can search like so:
filename:{asf asx avi divx flv m4v mkv mov mp4 mpeg mpg ogm wmv}
Or
filename:example.pdf
But I want to search on filename with regex. Something like:
filename:*ampl*
... to find a file named example.xlsx
.
Any ideas?
Source: (StackOverflow)
I have an email address that should not receive email directly, and want to set up an auto-responder if an email is received without a CC included. Essentially, a search for:
to:me@email.com cc:[nobody]
Is this possible?
Source: (StackOverflow)
Have tried multiple way and none of them has worked,
Used : in:Test -is:starred
and -is:starred in:TEST
and other option, None of them worked, in:Test -is:starred
has listed all started email in Test label, but the inverse is no working, please help me in resolving this.
Source: (StackOverflow)
I'd like to do a search in my Gmail to find out the mails that I sent without reply.
I tried this, but it doesn't work:
label:sent -has:reply
it seems that the 'has' operator only accept :attachment
Is there a way to search the un-replied mails?
Source: (StackOverflow)
With the new Gmail inbox, I've gotten into the habit of ignoring everything that's not in the Primary inbox. I don't care about anything that's in any of the other inboxes (inboxen?). When I search for something, I only want to see things from my primary inbox. However, searching for something brings up results from all the inboxes. How can I only search the Primary inbox?
Source: (StackOverflow)
Just what the title says, how do I find the oldest email in Gmail? I know ho to find the oldest email from a specific person, but I’m interested in finding the oldest email, regardless of the sender or the label/folder it resides in at the moment. How can I do this without manually going through each label?
Source: (StackOverflow)
I need to find, in Gmail, a list of all my unread messages — which I can get via is:unread
or label:unread
or l:^u
— which do not have the label "ZDNet."
In other words, my requirement is this:
I have 185 e-mails which are "unread" in my Inbox.
I have 174 "unread" e-mails which are labeled "ZDNet."
I need to find the 11 e-mails in my inbox that are not part of the group of 174.
How can I do this?
Source: (StackOverflow)
Does anyone know if in Gmail you can search all messages that have an exclamation mark in the subject?
I would like to create a filter that adds a red !
label to the messages that have an exclamation mark in the subject. But searching for subject:!
results in all messages. I've tried things like /!/
, /\!/
, (/\!/)
, "!"
, but all these searches just give me all messages, not just those with !
in the subject.
Source: (StackOverflow)