This link has been bookmarked by 74 people . It was first bookmarked on 10 Jul 2007, by Fernando Rivera.
-
26 Oct 09
-
24 Jul 09
-
28 Jun 09
-
08 Jun 09
-
01 May 09
-
14 Apr 09
-
23 Feb 09
-
17 Feb 09
thisis amonkeyIt's no surprise that the killer feature in Google's email offering Gmail is its search capability Google's king of the
-
08 Dec 08
-
07 Dec 08
-
09 Oct 08
-
15 Jun 08
-
19 Apr 08
-
31 Mar 08
-
27 Mar 08
-
25 Feb 08
-
17 Feb 08
-
Yeah I'd really like a filter action like "mark as not spam". Or how about: if my filters match it and I'm applying a label to it already, it's not spam.
-
-
11 Feb 08
-
06 Feb 08
-
09 Dec 07
-
20 Nov 07
-
11 Oct 07
-
When you construct a complicated query in Gmail, the search terms are all by default grouped with AND, meaning that every match to a search like
to:adam subject:iPhoneis both to me and has iPhone somewhere in the subject. The Gmail documentation recommends using the OR operator when only one term needs to match. Our search might then becometo:adam OR subject:iPhone, meaning that every match is either addressed to me, has iPhone in the subject, or both. -
Instead, surround the disjunctive search terms with curly brackets {}. Searching Gmail with
{to:adam subject:iPhone}will yield the same results as the OR search above while allowing you more room for tweaking the terms and saving you from typing an endless string of ORs. Everything inside the curly brackets is assumed to be linked with OR. - 7 more annotations...
-
-
Similarly, search terms surrounded by parentheses () group every item with an AND. Granted, AND is the default for search terms, but parentheses can still come in very handy when things get complicated. For example:
-
{to:(adam@lifehacker.com tips@lifehacker.com) subject:Quicksilver}
-
Using either the persistent search Greasemonkey script or the Better Gmail Firefox extension with persistent searches enabled, you can create and save persistent searches in Gmail that work like Gmail labels, except that they're dynamic.
-
Filters and building large queries
-
Filters come in handy when you want to perform certain actions on email when it arrives—actions like archiving, forwarding, and labeling.* If you're planning to set up complex filters, the first thing you should do is expand Gmail's filter input,** turning it from a one-line input box to a textarea. That way you can -
Since Gmail search operators work in filters, you can forego the other filter inputs and push your query into the Has the words field (or not, depending on which you prefer).
-
-from:{
*@lifehacker.com
*@gawker.com
*@gizmodo.com
*@defamer.com
*@wonkette.com
*@idolator.com
*@fleshbot.com
*@kotaku.com
*@deadspin.com
*@gridskipper.com
*@consumerist.com
*@valleywag.com
*@jezebel.com
}As you can see, this query uses the hyphen -, which negates the content of the following curly bracketed section. In my example, any email that does not match one of these handles (i.e., any email not sent from A or B or C...) gets archived and labeled "Lifehacker Tips." If I decide a contact has earned inbox status, I can just add their email to the end of the list (luckily Gmail doesn't remove the line breaks so the query retains its friendly format when I need to edit it).
-
-
-
07 Aug 07
-
25 Jul 07
-
23 Jul 07
-
20 Jul 07
-
17 Jul 07
-
15 Jul 07
-
13 Jul 07
-
12 Jul 07
-
11 Jul 07
-
Chris MuellerBuild advanced Gmail filters and persistent searches
gmail lifehacker filters search Documentation HowTo reference Delicious_Import_2
-
-
Gmail
-
-
10 Jul 07
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.