Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there anyway to set up a filter that will create and apply a new label for every word in the subject line? Something like label:{subject} maybe?

Obviously I wouldn't be using this for standard gmail use, I'm trying to setup gmail as a kind of note taking repository and would love to be able to just enter tags in the subject and have them automatically turned into labels.

share|improve this question

I've never run across a way to create labels like you asked, but you can use gmail's search to do the same thing. For example, you can search for:


Which will return all emails with Monkeys in the subject. You can also set up bookmarks for common searches.

share|improve this answer
True. I could use greasemonky to setup some persistant searches to take the place of tags/labels, but I'd rather find a way to make the labels. Thanks for the input. – matt Nov 8 '10 at 18:55

You could use the Gmail Labs Quick Links feature to create links to custom searches.

E.g. You could search for subject:Monkeys, then add a quick link to the page displaying the search result. After that you could display the search results for your chosen keywords with one click.

I know these are not labels but look very similar in the GUI and you would not need to use greasemonkey.

share|improve this answer
How does this help me get any closer to what I'm trying to do? I want labels (or Custom Search links) to be created dynamically based on the words in the subject line of an email. So if I sent myself an email with the subject line "Monkeys" it would then create a label "Monkeys". It does not help me to have to predefine a label or a custom search because I want those links to be built based on the content of messages. – matt Feb 12 '11 at 23:18
Sorry. I wasn't avear that the dynamic part is such an important criteria. In that case I think your only option is greasemonkey. Depending on your use-case you might be better of with a fixed set of labels to avoid a proliferation of tags (due to typos, tags only used once, etc.) – Andris Feb 13 '11 at 10:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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