When labeling a message with a nested label the message does not appear in the parent label, which in my opinion would be the power having a label hierarchy.

Is there a way to automatically apply the parent label when moving a message to a sublabel?

For example, given the following labels...


I would like every message labeled Today to also appear in Pending, without having to apply a filter manually.


I managed to achieve a similar functionality this by enabling the Quick Links lab and then setting a quick link to the following seach:

label:pending OR label:pending-today OR label:pending-week
  • I am trying to access my mail via IMAP. Quick Links doesn't show up as an IMAP folder, does it? – palswim Feb 28 '17 at 5:53

I've achieved this by creating a new filter with all child labels linked with OR and (edited to clarify) applying parent label to it, i.e.:

label:parent-child1 OR label:parent-child2 and so on...

No Quick Links thingy (found that solution also in some other sites) and so far everything works as expected.

  • GMail says: Filter searches containing "label:", "in:", "is:", date range (e.g. "before:" or "after:") or stars criteria (e.g. "has:yellow-star") are not recommended as they will never match incoming mail. – palswim Feb 28 '17 at 6:36
  • @badc0de: Does this still work for you? I get the same warning that the filter "will never match incoming mail". – cbarrick Jun 4 '18 at 18:31

For me the best solution is to make two identical filters, one for each label:

  • One that applies the parent label
  • Another that applies the nested label

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.