I'm using the Gmail labs feature which adds SmartLabels such as "Promotion" and "Social Update" to relevant emails. I would like all SmartLabel emails archived/inbox skipped and all given a label (they can still keep the SmartLabel or not - I don't care). But when I click on "edit" for each SmartLabel filter I get "Invalid search query - returning all mail." Any ideas?
migrated from superuser.com Nov 4 '12 at 23:48
This question came from our site for computer enthusiasts and power users.
I know this is oldish but I found this about.com article helpful for doing just that:
for example, to set up a filter for smartlabel notifications, use: "label:^smartlabel_notification"
then have it skip inbox, etc..
NOTE: Gmail will warn you that this won't work for incoming emails but it does indeed work.
about.com for the win (never thought I'd say that)
EDIT: create a new filter, don't edit the smartlabel one
For the first part of your question, you might want to check this:
For the second part of your question, I suggest you select the Label - when it lists messages, select multiple messages (one each from Facebook, twitter, etc..) and click on More -> Filter Messages like these (and change FROM to *@facebook.com, *@twitter.com, ...) and choose a label - so basically you would have to create a new filter.
You could also have separate filters for Facebook, Twitter, Quora, ... and choose to move them to different labels, skip inbox (and optionally mark them as read) if you wish.