41

I would like to customize the priority inbox of my Google Apps email. The top section is already "Important and unread" and the bottom section "Everything else".

In the middle I would like to have the section "In Inbox and having [label]". It seems however that it's only possible to show all message of a certain label.

I also would be satisfied with "Unread in [label]", but also that I can't figure out how to put.

Is what I want possible?

Peter Smit
  • 695
  • 2
  • 8
  • 13

6 Answers6

68

Yes you can do this but not without a little bit of hacking around.

From my answer at Equivalent of 'archive' for priority inbox \ multiple inbox :

The only way that I have found to do it is either with the element inspector in chrome/safari or with firebug in firefox. The good news is that once you have made the settings change it will work in all browsers.

  1. Go to the priority inbox settings tab.
  2. Click the options next to the section you want to show your work mail.
  3. Click "More Options..."
  4. Inspect the element for the "Work" Label
  5. You will notice on the surrounding div there is an attribute cfg="^all,Work", change the value to "^i,Work"
  6. Select the label on the page as you normally would

You will know if it worked or not straight away because the section settings should now read : Inbox, Work instead of the All Work that it used to read.

Here is a list of alternative commands you can use. You can chain commands together with a comma.

^i = Inbox
^u = Unread
^io_im = Important
^t = starred
^f = sent
^r = drafts
^all = All mail (include archive)

ie. ^i,^u,Work = all emails in your inbox, that are unread with the label "Work".

Ben
  • 871
  • 7
  • 3
2

Not currently possible without a bit of hacking. (See Ben's answer.)

Out of the box you can have Inbox and...

  • Important and unread
  • Important
  • Unread
  • Starred

OR all of a particular label.

Can't combine Inbox and a different label the way you're looking to do.

ale
  • 52,972
  • 42
  • 165
  • 314
1

I had the same issue with Priority Inbox. When you select a label for a section, it automatically includes all of a particular label- both read an unread. I got around it by setting up two filters for items in the middle section. The rules for applying it are the same, but label names have (Unread) or (Archived) after it. Select the one with the unread qualifier for your section. When the message comes in, both labels are applied and it is filtered into the proper section in priority inbox. After I read it, I remove the (unread) label and leave the (archived) label. It is automatically removed from the priority inbox screen, but I can easily find it later.

Does that make sense?

0

Unfortunately, Ben's answer no longer works. I've done some investigation into making this possible again, but don't have a full answer yet.

In the settings, choose Priority Inbox, and click Save Settings. You can see the network request it makes request under the in the developer tools. In the request payload, the settings for priority inbox are under 1.1.0.1.2.88147817.181538083.7.2. It will be a list of four items for the four inbox sections.

The 1 property of these items is the type of the section. The available types are:

 7 = ...
 8 = Important
 9 = Unread
10 = Important and Unread
11 = Starred
12 = ...
13 = All Important
14 = All Starred
15 = All Drafts
16 = All Sent

Types 7 and 12 are special. 7 represents "everything else", but it is removed from the list unless it is at the end. 12 looks at the value in property 2 to determine what it does, and the values for property 2 can be the values in Ben's original answer!

My goal in this investigation was to allow me put the "everything else" section in the middle, and I was able to accomplish that by using ^i in property 2.

This is not, however, a full solution to the original question since the 2 property does not seem to allow commas. Hopefully this can be of use to someone, though.

dta
  • 101
  • 1
0

Settings -> In inbox type choose "Multiple Inboxes" Here you can make your own 5 search queries.

Queries that I have found:

is:unread - filtered unread emails is:read - filtered read emails is:starred - filtered starred emails in:archive - filtered archived emails is:drafts - filtered drafts label:my-label - filtered specific label emails -label:my-label - (added minus before) those labels won't be filtered

Query version: specific label and in the inbox: label:my-label in:inbox

abiab
  • 11
  • 1
-1

Yes you can do this.

  1. Go to Settings > Priority Inbox
  2. You'll see four Priority Inbox Sections
  3. Click on Add section beside the Empty section (usually the third one)
  4. A menu will open and you can select the label you want, and your section will be about all Inbox items that have a particular label.

You'll later be able to choose how many items you'd like to display in your section.

I guess that's exactly what you want. I've tried it myself and it works.

Robert Koritnik
  • 2,237
  • 5
  • 22
  • 30