Skip to Main Content

When Gmail's Filters Aren't Enough: How to Tackle Spam on Your Own


If you're really lucky, not a ton of spam makes its way into your inbox. Email providers have never been better at blocking it and filtering it to your spam filter without you lifting a finger. However, you still probably get newsletters you've tried unsubscribing from, updates for services you don't use, or notifications from who may have used your address to sign up for something. Here's how to deal with the spam that consistently makes it through your filters.

Remember, not all spam is sent by mindless robots harvesting email addresses from around the web. We've discussed what to do if someone's impersonating you online, but sometimes someone may just decide you need to be on a mailing list that you can't unsubscribe from—even if you've tried. Other times, someone may use your email address to sign up for free web services—whether it's an innocent typo or someone's decided you get to be their stand-in. Maybe the spam that hounds you comes in languages you don't know, or are emails with just images or short links that you can't really filter for. Whatever it is, you're not powerless, even when the filters in Gmail, Outlook, or Yahoo fail you. Here are some options.

The Passive Approach: Lock Down Your Account and Filter/Whitelist Everything

Most of us don't feel like wasting a ton of time and energy on the spam we get. It's easiest to just filter it, get it out of our inbox, and move on. All of the tools you're likely familiar with will do the job when used together: Some well designed Gmail filters won't hurt, and turning on smart labels will also work wonders. Finally, learning your way around Gmail's new layout goes a long way as well, so you don't overlook a feature you could actually use. If it's really newsletters and spam that's pretending to be legitimate, you can always filter on the word "unsubscribe" to get rid of it all. If you've been reading Lifehacker for a while, you probably already do these things.

Filters are great, but if you're ready to really lock down your account, it's time to turn on the whitelisting features. For example, enabling Gmail's Priority Inbox is a great way to start training Gmail to understand who's important and who isn't. Once it knows, it'll only notify you of the people who are actually important. To take it another step, you can add some useful organizational toggles to your inbox so you only see the emails you actually want to see. From there, if you really want to go crazy, you can set up a whitelist so only the messages from domains you approve make it into your inbox at all, and everything else is routed elsehwere. Similarly, mobile apps like previously mentioned Dextr for Android can be configured to only show you email from the people you allow, so you can focus on what's important, without the persistent newsletters, spam, and other nagging messages that creep in every day.

If you do think someone's been impersonating you or your account is somehow compromised, change your password, enable two-factor authentication, and—especially if you use Gmail—check your activity history to see if there are any unrecognized devices or IP addresses in the list of devices that have recently accessed your account.

The Middle Path: Filter Everything, Set Up Bounce-Backs and Notify Site Owners

If filtering and whitelisting aren't enough, it's time to set up some canned responses and notify service owners directly that you want off of their mailing lists. With traditional robot-based spam, responding or clicking "unsubscribe" is the kiss of death and will inevitably result in more email (there's some debate over whether this is as true as it used to be, you're still better off only unsubscribing from email where you already know the sender), but with email from companies you actually do business with, or services you know are legit, clicking unsubscribe is the fastest way to put an end to the unwanted email. You just have to be smart about when you click unsubscribe and when you just mark as spam (and when you do both).

With above-board marketing list operators, like the folks behind SafeUnsubscribe, ConstantContact, and MailChimp, if unsubscribing from someone's list isn't working, you can file an abuse report with the service itself, and they'll actually act on it. It's surprising, I know, but they do take them seriously. When you get those persistent messages, take a look at the service the company is using to send them to you, and then look up that service directly. You may be able to get a hold of someone there and insist you be put on a company-wide blacklist, so none of their clients can email you, or at the very least you can report the offending client for not respecting your desire to get off their mailing list.

Finally, another great way to put the kibosh on annoying newsletters and spam is to pretend you don't exist. We've explained how to set up canned responses to auto-reply to unfriendly or abusive email in the past, but it doesn't take much to turn that canned response into a full-fledged "bounce" message that looks to the recipient like your email address doesn't exist. I copy the text from a standard bounce message, change out the dead email address to my own, and insert the text into the canned response. When I get something I really don't want, or from a persistent spammer, I hit them back with the canned response, then create a filter so any email I get from that address also gets the same canned response. With luck, they'll get the picture and remove me from their list, or whatever automated process they have will do it for them.

It's not a perfect solution: the "bounce" comes from my email address, not a generic "noreply@" address for the domain, like it would if it were a real bounce message, and if they email me from a different address, I'd have to set the filter up all over again. Plus, if you use it too much, or use it with spam from robots, it's essentially a confirmation that your address exists (because the bounce may look like a bounce but it's not coming from the actual mailer daemon for the address). Still, it's worked more than it's failed me, although it's a bit of a last resort.

Finally, you can turn to technology to take the whole problem off your back. Services like previously mentioned Unroll.me and The Swizzle(formerly Unsubscribr), another service we've mentioned, all promise to tidy your inbox without you having to lift a finger, and they work as advertised.

The Aggressive Route: Change Passwords, Notify Their ISPs, and Disable Their Accounts

The worst spammers are the persistent ones—the ones that either have it out for you specifically, or they serially add you to new mailing lists. If you have the time on your hands and you're that angry about it, you do have some options. The easiest—and perhaps most effective—method to exact your revenge is to look at the message headers to find the IP address of the sender. From there, a quick WhoIs or reverse lookup will tell you at least the ISP (if not the full hostname) of the machine that sent the messages to you. It's not perfect, and if a spammer is remotely smart those headers may not be reliable, but they're a start, and can tell you which mail service you should report the spam to, and even which ISP you can report the spammer to.

If someone is using your account to sign up for free web services or other accounts, presumably they'd need access to your account for the confirmation links, but not every web service demands you click a link confirming your email address before you start using it. If you're inundated with someone who's email address is one character off of yours, or someone using your address as filler, grab those confirmation links, visit the site, change the account password (or delete the account outright), and log back out. You may not be able to stop them from just doing it again (or trying to reset the password using your address), but you can annoy the hell out of them.

Finally, if you do have the spammer's email address, you can give them a little taste of their own medicine with Mailbait. Keep in mind though that this is the equivalent of looking into the abyss and seeing it stare back at you (and actually may qualify as harassment in your jurisdiction) so use your powers wisely.

Whichever path you choose, you have plenty of options, some of which you may not have already tried. Dealing with spam doesn't necessarily have to mean suffering through reporting the same sender as spam a half-dozen times or building a list of filters that would take you longer to scroll through than it would to just delete the message. With luck, you can leverage some of these tools to keep your inbox that much cleaner.

Photos by Dejan Stanisavljevic (Shutterstock)