Do you know a browser plugin (or something else ?) to add some labels as direct button (no menu) in the web interface ?

For example, I would like to mark my email in gmail and directly click on a button mycompany on the right side of "Mark as read" button or "More" button.

  • Would a keyboard shortcut (they're very quick) do for your purposes, or are you specifically wanting to click on something?
    – eisb
    Commented Nov 26, 2011 at 7:05
  • A keyboard shortcut would be nice. Is it easy to code ? Do you know some good resources about it ? It would be a good answer.
    – Antoine F.
    Commented Nov 26, 2011 at 15:48

1 Answer 1


A way to quickly add labels to your messages in Gmail without having to install anything is through keyboard shortcuts.

When one or more messages are selected in your Inbox, you can press the L key, which will automatically open up your list of labels. If you type the first few letters of the label you want and then press Enter or Return (whichever it's called on your computer), the label that matches those letters will be added to all selected messages.

This is a very quick method, as you only need to type the first few unique characters of the label name. For example, if you have three labels starting with "b" -- belugas, business, and bunnies, you would only have to type:

  • b and Enter to add the Beluga label
  • bu and Enter to add the Bunnies label (it's ordered alphabetically)
  • bus and Enter to add the Business label

So, to add a label to all selected messages, you could potentially do it by barely lifting a finger with three quick keystrokes:

  • L to bring up the label function,
  • m to add the label "mybusiness" (or you could add a number to the beginning like "1 mybusiness" if you have a bunch of other m-labels)
  • Enter

Or you could just press m and then use your arrow keys to navigate through the list from there, if you wanted to be less efficient. :)

NOTE: To use this method, make sure your keyboard shortcuts are turned on. To do this:

  1. In Gmail, click on the Gear in the top-right corner
  2. Select "Mail settings"
  3. In the "General" section, select the "Keyboard shortcuts on" option (near the top of the list)
  4. Click "Save changes" at the bottom of the page


If you want to use your keyboard to navigate through your inbox and select messages for adding label (instead of using your mouse to click the box on each message you want selected):

  • press j to move down the list of messages, and k to move up the list
  • once navigating through your inbox, you can select/check-off a message by pressing x
  • for more keyboard shortcuts, press ? while in your inbox for a menu of all the commands
  • Thanks for this detail howto, i wasn't expecting so much. You convince me to start using keyboard shortcut.
    – Antoine F.
    Commented Nov 27, 2011 at 15:28
  • Thanks for the edit, @Alex. I completely missed that there was a tag for keys.
    – eisb
    Commented Nov 29, 2011 at 7:50

Your Answer

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

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