6

I would like to remove the labels "Social", "Promotions", "Updates", and "Forums", from the Gmail compose window.

Screenshot labels

3
  • 2
    They're not labels per se, but inbox categories. They're only included in the list of labels as a convenience. Short of something that will modify the HTML, there isn't a way to remove them. (Unless, of course, you stop using the inbox categories altogether.)
    – ale
    Nov 4, 2016 at 16:52
  • Thanks @AʟE.! I don't mind to completely stop using the inbox categories. How can I do that?
    – orschiro
    Nov 5, 2016 at 8:55
  • Eh, phooey. Even if you turn them off you can't remove them from the labels list. That's annoying. I'll create an answer to that effect.
    – ale
    Nov 5, 2016 at 9:51

3 Answers 3

7

They're not labels per se, but inbox categories. They're put into your labels list as a convenience, so that moving messages into or out of a category is easier. Moving a message into or out of a category informs Gmail how to categorize similar messages in the future.

You can turn them on or off in Settings > Inbox > Categories.

Unfortunately, you can't remove them from the labels list. Probably because even though you may not be using/showing them, Gmail still uses them. (This is true even when using an alternative Inbox option, like "Priority Inbox".

All messages are automatically labeled for the first 5 categories even if you don't show the categories in your inbox.

So, short of some possible HTML/CSS trickery in your local browser, you cannot remove these categories from the labels list. At least they're sorted to the bottom.

1
  • Thanks! Let me know if you know of any HTML/CSS trickery that removes or hides those. :-)
    – orschiro
    Nov 5, 2016 at 22:29
0

What I do is wait till I've got a page full of emails (100 in my setup), then select All emails, then in the Labels button, page down to the end of the labels that you've applied yourself. Untick the Social, Promotions etc boxes (fortunately always at the end of the list) and you're done. DON'T FORGET to select NONE afterwards, of course, to clear the active boxes next to your emails. Sounds ponderous but it literally takes 10 seconds and you only have to do it ~twice a month.

-1

A HTML/CSS trickery that can hide them, written in Tampermonkey:

// ==UserScript==
// @name         Gmail remove annoying categories
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://mail.google.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @require      http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
// @require      https://gist.github.com/raw/2625891/waitForKeyElements.js
// @grant        GM_addStyle
// ==/UserScript==

waitForKeyElements (
    "div[title*='Updates'], div[title*='Forums'], div[title*='Promotions'], div[title*='Social']",
    hideNode
);

function hideNode (jNode) {
    jNode.hide ();
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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