111

Gmail now supports category:primary is:unread


45

You can do searches that exclude certain labels. That is, searches like this will do what you expect: (label:MyLabel1 AND NOT label:inbox AND NOT label:MyBadLabel1) That search will show you only messages that: Do have MyLabel1 And do not have label inbox And do not have label MyBadLabel1 The tricks are: to get yourself out of conversation mode! (As @...


37

Not in general, no. The Gmail search functionality works based on what I would describe as tokens. A token is any sequence of alphanumeric characters separated by a space or by other non-alphanumeric characters such as underscore, full stop (period), "@", dash, etc.. So in peter.ford23@example.com there are 4 tokens: "peter", "ford23", "example" and "com"....


36

All Mail includes all the mail. Click on the All Mail button on the side bar. Right next to the < > buttons you should see a link 1-100 of xx,xxx → click on the link. The drop down should give you two choices: newest and oldest; select oldest. You should now be on the last page. Note: if the All Mail label isn't on the sidebar, it can be added via: Gear ...


30

The category filter now knows how to filter the "Primary" inbox, so you can use in:inbox category:primary Or, to show just unread messages in the "Primary inbox": in:inbox category:primary is:unread Earlier answer: Doesn't look like the "category" filter knows how to filter to the "Primary" inbox, but you can do it by excluding the other categories ...


16

The option to disable the highlighting ("Turn off highlighting") is located in the "More ▼" menu between the search box and the email title


15

I wanted to move all the mails I had sent to people and had not received a reply, into a label in Gmail. After trying different queries for an hour, I realised multiple queries would do the trick. And this worked for me. 1. Search for in:inbox to:me category:personal Select all conversations that match this search, and Label as: Create new Label → ...


10

You can try -(label:labelname) enter your search here for more labels to be excluded just continue the following syntax: -(label:Inbox) -(label:Updates) -(label:Social) enter your search criteria Hit enter


10

The specific times are mentioned in the documentation to show that the "after" operator is inclusive of the date given, while the "before" operator is exclusive of the date. There is no way to use the search box on a more specific time range. If you are using Google Apps Scripts, you can make your search using the best dates you have. Then you can filter ...


8

The TO:myemail@myemail.com will return all messages sent to myemail@myemail.com, including those where myemail@myemail.com is CCed (or BCCed in case you send the e-mail, since you can see the BCC). Use TO:myemail@myemail.com -CC:myemail@myemail.com -BCC:myemail@myemail.com instead. (the 'not' function is represented by a minus -) Parenthesis are only ...


8

I decided to use this search operator: from:me -subject:"re:" -is:chats -is:draft -has:userlabels It's not perfect, but it cuts down on a lot of the conversations.


7

Confirmed, as of 1-30-14, is:unread category:primary works. I think I've been using is:unread category:primary-inbox for a while but I think they just discontinued it, because it wasn't working for me today.


6

Even though the two halves (From:...) and (To:...) are enclosed in parenthesis, I think you will get more accurate results if you prefix both addresses in each half with the From: or To: accordingly(see below). As it is now, I think it is searching for the second email address of each half anywhere in any message. Example: (From: johndoe@gmail.com OR From:...


6

I don't think there is a complete solution to your question, but following filter is the closest thing I can come up. -cc:(*@*.(arpa|root|aero|biz|cat|com|coop|edu|gov|info|int|jobs|mil|mobi|museum|name|net|org|pro|tel|travel|ac|ad|ae|af|ag|ai|al|am|an|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|...


6

The issue is that the star is associated with a message, not the entire conversation. So when you use: is:starred it returns all conversations where at least one message in the conversation has a star. -is:starred returns all conversations where at least one message is unstarred. Unfortunately when you look at the list in the GUI all the Conversations in ...


5

There doesn't seem to be an "oldest" link in gmail anymore so using this link to go to a really big page number seems to work: https://mail.google.com/mail/#search//p99999 Method taken from systembash.com


5

Just a few years late, but I wrote a Gmail plugin to help with this. It's been pretty popular so far and is probably used by thousands of people by now. You can find instructions for it here: https://web.archive.org/web/20131231004200/http://jonathan-kim.com:80/2013/gmail-no-response/ https://github.com/hijonathan/google-scripts/blob/master/gmail-no-...


5

You probably do not have any mail older then 2006. Gmail will display all mail irregardless of its overall age. After checking my own account which was created in November of 2004 (only 7 months after Gmail first came out). I can see all mail going back to the original welcome email. See the screenshot below as evidence.


5

There's no "today" search operator, but you can filter to the last 24 hours with the newer_than operator. in:inbox newer_than:1d (Unfortunately "0d" doesn't work.) That should work for what you want to do. Source: https://support.google.com/mail/answer/7190


5

By folder, you mean label right? If you navigate to a label, it should already populate the search bar with the format needed. So if I have a label called "Finances" the search should be label:finances and then whatever you're searching for If it's nested, it will be marked by a dash so if I have a "Bills" folder under that it would be label:finances-...


4

With the following piece of code it is possible. Code function getFirstFrom() { // get active sheet and clear contents var sh = SpreadsheetApp.getActiveSheet(); sh.clear(); //http://stackoverflow.com/a/12029701/1536038 // get all messages and retrieve 'date' and 'from' var eMails = GmailApp.getMessagesForThreads( GmailApp.search("label: ...


4

Unfortunately, no, there's no activity log within Gmail that's accessible to users. The only "undo" option there is, really, is what's available immediately after performing an action. So, recovering what you happened to have labeled "inbox" doesn't seem practical. At best, you could look through your messages in "all mail" for the past month or so and see ...


3

Yes, it is possible, however not by using any kind of filter. If you have the account added in the settings menu under the "Accounts and Imports" tab of the settings then the emails will appear in the to:me search. I have confirmed this works as this is how I do it.


3

Yes, there is a way. Enable the Quick links Lab, and add to it the URL of your Gmail search. To add the "Quick links" lab, do the following Go to Settings (cog wheel) > Settings Click on the Labs tab Search for Quick links Click the related Enable radio button Click on the Save changes button. Once the Quick links is enabled it will be available in the ...


3

It is a Labs feature: I don't know why it was turned off...


3

Try the before:{date} and after:{date} search operators., in addition to any search terms or sender filters you can remember. This can be done by typing them into the search bar, or by dropping down the search options and searching by date, e.g. within 2 weeks of {date}. before:2012/12/31 after:2012/1/1 search terms There is no between filter - see the ...


3

Labs are experiments that sometimes graduate and become part of the main project, and sometimes don't. This would appear to be one of the latter. When a Lab is removed there's generally no announcement about it, it simply stops working. Why? I don't know. Probably because not many people were using it.


3

See the official Gmail Blog We’ll be implementing the instant results feature for Google Apps customers in late-2015 or early 2016*. With this improved experience on the horizon, we’ll be ending the Apps Search lab experiment, which is unstable and provides lower quality results. It will be removed from Gmail Labs and the Advanced Labs Management ...


Only top voted, non community-wiki answers of a minimum length are eligible