Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I currently have some basic filters in Gmail, but the other day I heard someone mention you could use a plus sign in your address to filter incoming email?

Can someone elaborate?

share|improve this question
1  
Not sure the title matches the question. –  Rebecca Chernoff Jul 9 '10 at 0:14
    
Changed the title to match the question :) –  x3ja Jul 9 '10 at 3:41
add comment

3 Answers

up vote 11 down vote accepted

This is your regular email address:

example@gmail.com

This is your email with plus addressing:

example+seed@gmail.com

When you create a filter, just filter for messages sent To the one with the particular word after the plus (+) sign.

So your filter will look like this:

To: example+seed@gmail.com

Now you can just hand out that email address with the plus and seed word and any incoming mail sent to that will be filtered however you want to deal with it.

share|improve this answer
    
GMail also ignores "." when matching email addresses. "r.c.h.e.r.n@gmail.com" would reach "rchern@gmail.com" if that were my email. –  Rebecca Chernoff Jul 9 '10 at 0:13
1  
If you have a Gmail account from the very early days, those periods would not be ignored. @rch –  Eight Days of Malaise Jul 9 '10 at 0:17
    
Interesting. I don't see that in their information at mail.google.com/support/bin/answer.py?hl=en&answer=10313# . It does mention that it doesn't apply to Google Apps though which I didn't realize. –  Rebecca Chernoff Jul 9 '10 at 0:48
add comment

The other methods suggested may not catch all email sent to that address; that is, sometimes your email will not be in the To: field, as when the email is sent to a mailing list to which you are subscribed.

Making the Address

First, to take advantage of the plus sign you mention, append the desired text to the first part of your email address. If your email is bob@example.com and you're signing up for the New York Times Online, you might use the address bob+nytimes@gmail.com. Email sent to this address will also appear in your regular inbox, and it will not be sent to anyone else -- anything after the + operator is ignored by Gmail.

If you want to get even trickier, you can use periods within the address at any position except the first letter before the @ symbol, and these will also be ignored (as another commenter notes). E.g., you could use b.o.b+new.york.times@gmail.com and email to that address would be sent directly to bob@gmail.com.

Setting up the Filter

Now, to filter incoming mail you'll use the "Filters" feature of Gmail. To create a new filter, use the link beside the search box at the top of the page or go to your settings and click the "Filters" tab.

To make sure all relevant emails are caught, we can take advantage of the fact that the Has the words: field accepts search operators.

  1. Leaving the other fields blank, put the following text in the `Has the words:` box:

    {(to:bob+nytimes@gmail.com) (deliveredto:bob+nytimes@gmail.com)}

    The inner parenthesis mean that the field is optional (e.g., the mail can be to: this address OR it can be deliveredto: this address).

  2. Click the Next Step >> button. Choose what you want to do with email sent to this address; for example, select "Apply the label:" and create a label to apply to all email sent there.

  3. Click the relevant check box if you'd like to apply the filter to emails that already fall into that category (if applicable); otherwise, just click the Create Filter button.

Enjoy your newfound powers.

Footnote: The + operator is NOT available for all email providers. It is a special feature of Gmail. Only use it with Gmail accounts unless you confirm that it works with another provider. However, people can send mail to this type of account from any email address.

See also:

share|improve this answer
    
The + operator is not specific to Gmail. It's in one of the RFCs that covers Gmail and existed long before Google, much less Gmail. (Heck, I used to use it extensively in my filters in Pegasus mail.) It's just that the other big webmail providers didn't allow it in the past. –  Al E. Apr 26 '11 at 19:52
    
@AlEverett The protocols in the e-mail RFCs do not treat + as a subaddress operator or any kind of separator. It is an ordinary character, and is treated as part of the mailbox name. The system which performs final delivery is free to treat + specially: Gmail does this, and if you run your own mail system using Sendmail or one of its descendants you can do the same yourself. The only RFC which mentions + is RFC 3598, a proposed extension to the Sieve language. RFC 3598 notes that + is the typical subaddress character but does not in any way change the e-mail protocols. –  MετάEd Jun 26 '12 at 15:51
    
^shrug^ Be that as it may, I've been using + as a subaddress operator for years. Long before Google existed, much less Gmail. It used to be fairly standard, but has apparently become even less popular. Regardless, this isn't the venue for this; comments on Stack Exchanges sites are to improve posts. –  Al E. Jun 26 '12 at 15:53
add comment

You can provide to other sites a modified version of your email address, like so:

joe@gmail.com -> joe+sitename@gmail.com

So if a site you provided a modified email address to sends you a message, you can set up a filter on the to field of the message to check for the sitename bit. You can create a filter for each variation you create. It's surprising, but it works!

I'll add another remark: not every site likes being given an email address with the plus sign in it, even though it is a legal character. Some sites are checking for fairly simple address formats, though the actual allowed format is quite complex.

share|improve this answer
add comment

Your Answer

 
discard

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.