Advertising
Advertising

20 Ways to Use Gmail Filters

20 Ways to Use Gmail Filters

One of the coolest things about Gmail is its filters — set up properly, filters can add loads of functionality to your already-powerful Gmail account. Save time and space, rid your inbox of unwanted emails, and turn your Gmail into a multi-functional tool with simple filters.

There are some limitations to Gmail’s filters that I’d like to see improved in the future, including:

Advertising

  • the inability to mark a post as read
  • the inability to create live “smart folders”
  • difficulty in adding a large number of email addresses to a filter

But all in all, the filter function is very cool. Here are some ideas for how to use it:

Advertising

Advertising

  • Killfile. If people send me too much junk mail (jokes, chain mail, etc.), they get added to my killfile. It’s a simple filter that looks at the “from” field and deletes the message if it’s one of the addresses I’ve added to the filter. Every now and then I’ll decide to add someone to my killfile, and I’ll just open up the filter and add their address.
  • Booleans. The filter works much like Gmail’s search function, in that you can add search terms such as AND or OR or NOT. So I can look for addresses that are from a number of people (using OR), or emails that must include all of the words on a list (using AND). Use search operator symbols to make it even easier: “|” for OR, space for AND, “-” for NOT, and parentheses to group different terms in your search string.
  • Other search terms. Beyond the common terms above, your filters can use other terms such as “from:”, “to:”, “has:”, “is:”, “filename:”, and “label:”, among others. Using these terms, you can make your filters even more powerful.
  • Send reminders to someone. One of the things I wish Google would add to Gmail is the ability to send a delayed email. This would allow me to send reminders to someone at regular times. Instead, I sign up for a reminder email service to send reminders (meant for other people) to my gmail address, and then set up filters to forward the reminders to various people depending on the subject or content of the email. It’s not perfect, but it allows me to send reminders to different people on a regular basis.
  • Calendar and log. I set up Google Calendar to send me reminders of events. You can set up a label (“events”) so that your calendar reminders go straight to the label, star the message, and skip the inbox. Now not only are your events in one place, instead of scattered through your inbox, you can unstar the message when you complete the task or event, and now you also have a log of all the things you’ve done.
  • To-dos. This is a commonly used function, but you can email yourself tasks that you need to do, and then set up a filter that has your email address in both the “to” and “from” boxes, that applies the label “to-do” to the message. This will allow you to view all your to-dos in one filter. Or, if you’re a GTD fan, you could set up to-dos for each context (@work, @home, @errands, @phone, etc.), by creating different labels for each, and then setting up filters for different email addresses. Email yourself at yourname+work (you don’t need the @gmail.com part), and set up the filter to label that address “@work”, and so on for each context.
  • Follow up. Even if you’re not a GTD fan, having a follow-up label is a must. Simply set up a filter with an email address such as “youname+follow” and put it in the “has the words” filter field, and have this filter label it “@follow” and skip the inbox. Now when you send out an email that needs to be followed up on, put yourname+follow in the “bcc” field, and it’ll go into your “@follow” label. Be sure to check this label once a day so you can follow up on your emails.
  • Send spam to trash. Instead of having Gmail-filtered spam go into your Spam folder (and have the annoying count of unread spam by the folder’s name), set up a filter with “is:spam” in the “has the words” field (just click “OK” on Gmail’s warning dialog box when you click next step) and “Delete it” as the action. Now all spam messages will go in your trash.
  • Archived bookmarks. If you use del.icio.us and other bookmarking services, you can archive them all in a Gmail label (“bookmarks”). Get the feed urls for each of your bookmarking services, enter them in a forwarding service such as rssfwd.com, and then set up a filter to label them all “bookmarks”. Now all your bookmarks are in one place, with Gmail’s great search.
  • Attachments. If you’re like me, you like to go through your old emails and delete a bunch of them at a time. I do common searches during the cleanup process, such as “has:attachment”, so that I can look through all my bigger emails and delete them. Make this process quicker by making a label and filter for this search, and for any of your common searches, for that matter.
  • Media. If you get a lot of media sent to you, such as music files, videos and photos, set up filters (“filename:wmv | filename:mov” for videos, “filename:mp3″ for music, filename:jpg | filename:gif” for photos, or “filename:pdf | filename:doc” for documents). Now you can quickly find any media.
  • Backups. Create a second Gmail account for storage, and create a filter to automatically forward any emails with attachments (“has:attachments”) to this second address. Now you can delete your old emails without guilt or worry.
  • Newsgroups or feeds. You can set up filters for your newsgroups, so they don’t clog up your inbox. Or forward your favorite feeds to your Gmail, and automatically label and archive them for later reading. Now you can not only access them from anywhere, but you can search them too.
  • Bloggers. If you run a blog, you can have all your blog’s comments and pingbacks automatically archived and labeled (“blog”), so your inbox doesn’t get filled up fast. Also have your blog stat reports mailed to you and shunted to this label, so you can get a quick look at your blog’s success at a glance.
  • Delete old sent emails. There’s no reason, in most cases, to keep your really old sent emails. Delete them. Create a filter with “before:2006/06/01 label:sent” with “Delete it” as the action (you’ll need to click “OK” to Gmail’s warning dialog). Every month or so, update the date of this filter.
  • No delete. Some emails you don’t want to delete — those precious ones from your kids, for example, or maybe ones from your boss. Set up a label (“nodelete”) and a filter that puts the nodelete label on emails from (or to) the addresses you want. Now, some of the above filters, add the string “-nodelete” so that it doesn’t show these emails. Now you can delete your old sent emails, or your attachment emails, for example, without worry that your kids’ or boss’ emails will be trashed along with the rest of the riffraff.
  • Flickr. Forward your Flickr account’s feed to your Gmail, with a filter to automatically label it, and now your photos are searchable through Gmail. You can also set up filters to send notices that certain tags in your Flickr account has new photos to certain relatives.
  • Notes. Email yourself notes on web research, on meetings, on books you’re reading, on classes you’re taking. Set up a filter to archive and label them (if you send notes to yourname+notes, for example). Now they’re searchable and archived and accessible from anywhere.
  • Twitter. Use your mobile phone to send text messages or IM messages to Twitter, with a keyword at the beginning of each Twitter message (NOTE, TODO, BLOG, FOLLOW, etc.). Forward your Twitter account’s feed to your Gmail, and set up filters for each type of keyword (“note twitter” will be labeled “note” for example). Now you can use your mobile device to send notes, to-dos, follow-up reminders and more to your Gmail through Twitter.
  • Wildcard. Use the wildcard character (*) for companies that use multiple types of address from the same domain. One great use I’ve seen is to use the wildcard character for vendors such as Amazon or eBay to make it easier to track online purchases. Create a label (“online shopping”) and a filter with such email addresses as “*@amazon.com|*@ebay.com|*@paypal.com|*@barnesandnoble.com”.
Advertising

More by this author

Leo Babauta

Founder of Zen Habits and expert in habits building and goals achieving.

67 Ideas to Simplify Your Life and Feel Better Today What to Do in Free Time? 20 Productive Ways to Use the Time How to Find Your Passion and Live a Fulfilling Life The Gentle Art of Saying No for a Less Stressful Life Simple Productivity: 10 Ways to Do More by Focusing on the Essentials

Trending in Featured

1 15 Tips to Restart the Exercise Habit (and How to Keep It) 2 50 Ways to Increase Productivity and Achieve More in Less Time 3 8 Simple Ways to Be a Better Listener 4 The Art of Humble Confidence 5 How to Learn Something New Every Day and Stay Smart

Read Next

Advertising
Advertising
Advertising

Last Updated on November 18, 2020

15 Tips to Restart the Exercise Habit (and How to Keep It)

15 Tips to Restart the Exercise Habit (and How to Keep It)

It’s okay, you can finally admit it. It’s been two months since you’ve seen the inside of the gym. Getting sick, family crisis, overtime at work and school papers that needed to get finished all kept you for exercising. Now, the question is: how do you start again?
Once you have an exercise habit, it becomes automatic. You just go to the gym, there is no force involved. But after a month, two months or possibly a year off, it can be hard to get started again. Here are some tips to climb back on that treadmill after you’ve fallen off.

  1. Don’t Break the Habit – The easiest way to keep things going is simply not to stop. Avoid long breaks in exercising or rebuilding the habit will take some effort. This may be advice a little too late for some people. But if you have an exercise habit going, don’t drop it at the first sign of trouble.
  2. Reward Showing Up – Woody Allen once said that, “Half of life is showing up.” I’d argue that 90% of making a habit is just making the effort to get there. You can worry about your weight, amount of laps you run or the amount you can bench press later.
  3. Commit for Thirty Days – Make a commitment to go every day (even just for 20 minutes) for one month. This will solidify the exercise habit. By making a commitment you also take pressure off yourself in the first weeks back of deciding whether to go.
  4. Make it Fun – If you don’t enjoy yourself at the gym, it is going to be hard to keep it a habit. There are thousands of ways you can move your body and exercise, so don’t give up if you’ve decided lifting weights or doing crunches isn’t for you. Many large fitness centers will offer a range of programs that can suit your tastes.
  5. Schedule During Quiet Hours – Don’t put exercise time in a place where it will easily be pushed aside by something more important. Right after work or first thing in the morning are often good places to put it. Lunch-hour workouts might be too easy to skip if work demands start mounting.
  6. Get a Buddy – Grab a friend to join you. Having a social aspect to exercising can boost your commitment to the exercise habit.
  7. X Your Calendar – One person I know has the habit of drawing a red “X” through any day on the calendar he goes to the gym. The benefit of this is it quickly shows how long it has been since you’ve gone to the gym. Keeping a steady amount of X’s on your calendar is an easy way to motivate yourself.
  8. Enjoyment Before Effort – After you finish any work out, ask yourself what parts you enjoyed and what parts you did not. As a rule, the enjoyable aspects of your workout will get done and the rest will be avoided. By focusing on how you can make workouts more enjoyable, you can make sure you want to keep going to the gym.
  9. Create a Ritual – Your workout routine should become so ingrained that it becomes a ritual. This means that the time of day, place or cue automatically starts you towards grabbing your bag and heading out. If your workout times are completely random, it will be harder to benefit from the momentum of a ritual.
  10. Stress Relief – What do you do when your stressed? Chances are it isn’t running. But exercise can be a great way to relieve stress, releasing endorphin which will improve your mood. The next time you feel stressed or tired, try doing an exercise you enjoy. When stress relief is linked to exercise, it is easy to regain the habit even after a leave of absence.
  11. Measure Fitness – Weight isn’t always the best number to track. Increase in muscle can offset decreases in fat so the scale doesn’t change even if your body is. But fitness improvements are a great way to stay motivated. Recording simple numbers such as the number of push-ups, sit-ups or speed you can run can help you see that the exercise is making you stronger and faster.
  12. Habits First, Equipment Later – Fancy equipment doesn’t create a habit for exercise. Despite this, some people still believe that buying a thousand dollar machine will make up for their inactivity. It won’t. Start building the exercise habit first, only afterwards should you worry about having a personal gym.
  13. Isolate Your Weakness – If falling off the exercise wagon is a common occurrence for you, find out why. Do you not enjoy exercising? Is it a lack of time? Is it feeling self-conscious at the gym? Is it a lack of fitness know-how? As soon as you can isolate your weakness, you can make steps to improve the situation.
  14. Start Small – Trying to run fifteen miles your first workout isn’t a good way to build a habit. Work below your capacity for the first few weeks to build the habit. Otherwise you might scare yourself off after a brutal workout.
  15. Go for Yourself, Not to Impress – Going to the gym with the only goal of looking great is like starting a business with only the goal to make money. The effort can’t justify the results. But if you go to the gym to push yourself, gain energy and have a good time, then you can keep going even when results are slow.

Read Next