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 some way to make Gmail apply a label to incoming mail automatically based on the sender? For instance if Bob is my client, and all contact I have with Bob is work-related, can I make Gmail automatically apply the label 'CLIENT' to all incoming messages from Bob?

I would also be interested in a similar feature based on the recipient email address because I use my Gmail to check several accounts.

share|improve this question

migrated from superuser.com Apr 14 '11 at 17:18

This question came from our site for computer enthusiasts and power users.

up vote 12 down vote accepted

Sure. You need to create a filter.

Matches: from:(bob@example.com)
Do this: Apply label "CLIENT"

Matches: to:(my-alternate-email@example.net)
Do this: Apply label "non-work related"
share|improve this answer
Awesome! I knew that feature had to exist. Thanks! – Excellll Apr 14 '11 at 17:37
You can find filters under "Mail Settings". – Al E. Apr 14 '11 at 17:38

Click on create a filter at the top. Enter the email address you want a label for and click next. There you can say what you want to do with such emails. Click Apply the label: and choose which label you want. Then click the Create Filter button.

share|improve this answer

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.