Show HN: Smart email filters to unfuck your email

49 kilroy123 61 8/26/2025, 2:02:01 PM unfuck.email ↗

Comments (61)

yabones · 1h ago
So everybody else's newsletters go to trash except theirs?

https://github.com/stevenirby/unfuckemail/blob/master/filter...

jeroenhd · 17m ago
For what it's worth, I can think of a non-evil reason to do this (i.e. telling people "there was a bug in our mail filters and we're accidentally throwing away important emails, update immediately").

It's probably safe to assume this is a marketing trick, though.

DetroitThrow · 1h ago
Using the Honey extension's approach to "unfucking" a broken system, eh?
0x3f · 1h ago
Great idea. Maybe Mailchimp needs to make their own consumer email service.
pxeger1 · 1h ago
I think that might be intended as an example of how to allow a specific newsletter only
account42 · 36m ago
Then it should use example.com and not their own newsletter. This is pretty shady.
edweis · 1h ago
Easy way to do this: search for the word "unsubscribe" in your email and delete all of them.

I did this 4 years ago on my personal email address and I never had to recover any email.

apparent · 1h ago
Thanks to LLMs, many of the spam messages I receive have synonyms for unsubscribe, instead of the magic word itself. I once talked to a B2B outreach company, and they touted the fact that they basically rewrite all of their emails in minor ways to evade spam filters. They pitched it as "personalization" but in reality it was just spam filter dodging.
cowlby · 1h ago
This x100. I move it all to a folder called “Unsubscribe” and go through and unsubscribe from everything once in a while.

You can also make it a bit smarter by searching for the header “List-unsubscribe” instead. Less false-positives when someone forwards you an email that contains the word unsubscribe.

zlies · 57m ago
A few years ago, I did the same and started unsubscribing from newsletters as soon as they arrived. Now I keep only emails in my inbox that require action - everything else I archive or delete.
frollogaston · 47m ago
Despite being terrible, Yahoo mail has a bulk "delete all from sender and block" button that's way more convenient than Gmail. Found out when helping an elderly family member with 200K unread of spam. She's blocked thousands of addresses on her own now.
account42 · 34m ago
By "unsubscribe" you mean "mark as spam", right? Unless you actually manually subscribed to the lists of course.
wrs · 38m ago
If you expand “More” in Gmail, there’s a Manage Subscriptions view that shows a list of senders along with unsubscribe buttons.
giancarlostoro · 55m ago
I unsubscribe a lot every few years tbh but that might work better for scam emails that mention unsubscribe in order to appear legit.
balls187 · 1h ago
I used a paid for service to help clean out my gmail accounts.

I’m considering this, but curious if the name is a turn off for others like it does for me?

As a baby GenX(er), is that a generational thing?

jonhohle · 1h ago
Also a baby GenX and also not thrilled with the name. It could be great, but am I going to use it on my elementary aged child’s devices.

I’ve long thought the casualness of everything is our (GenX collective) fault, however. I see this as an extension of tshirt and jeans to work at an office job. The unforeseen consequence being the elimination of decorum everywhere. It’s not really about vulgarity, but a general lack of respect for others, standards for ourselves, and dissolving social culture. What language is reserved for shock, emphasis anymore?

hiatus · 1h ago
How often would you even see the name of this thing considering it is a one-time install in your gmail account?
balls187 · 23m ago
It's nothing to do about having that word show up in my email, and instead whether my opinion on professionalism and my perception on how professionalism may impact the quality of the product is out of touch.

It's more akin to how attitudes regarding professionalism shift generationally--e.g. tattoos.

captainkrtek · 1h ago
Do you mind sharing what service you use?
balls187 · 30m ago
kilroy123 · 1h ago
It doesn't actually delete anything. Just filters them out of the main inbox. I find that helps you find what to delete, though.

Fair enough about the name. I am just sick of all the notifications you get from email. Or the dreaded iOS badge that says 1 million unread emails.

ocrow · 1h ago
Mid X here. The name doesn't bother me. If it works that'd be fine. OTOH this doesn't solve a problem I have. I rigorously unsubscribe all promotional emails, and that seems to work fine.
blitzar · 1h ago
Would only be bothered if they don't append a marketting signature to the bottom of all my emails.

Sent by unfuck email. Go un-fuck yourself.

GLdRH · 1h ago
Do americans really get that much spam? I don't see the point of this. You can unsubscribe most superfluous newsletters anyway and you have a spam filter. A few intelligently chosen folders and inbox zero is a piece of cake.
tlogan · 35m ago
If you are disciplined and unsubscribe from mailing lists, you will stop getting most of the spam in your inbox. Sure, your spam folder might still be full - but with actual spam.

Honestly, I think it all comes down to discipline. You should immediately unsubscribe if you do not want someone’s newsletter.

But my problem is different: I get a lot of emails that I do want to receive, but I do not need to read them right away - or sometimes never. For example, mortgage monthly statements, which I really only need at tax time.

torton · 56m ago
Regular spam isn't really a problem.

For work email, various salespeople reaching out to sell things, often things completely unrelated to my job title, are highly annoying. I report all of them to spam to Google and block their emails, but the approaches of modern salespeople are increasingly indistinguishable from those of mass spammers (burner domains, "prewarming", multiple scheduled human looking followups, etc.)

Things I do intentionally subscribe to (such as airline offers) tend to switch their send-from address or title or something else every so often and are no longer caught by filters. At some volume, this becomes an occasional annoying toil to deal with. Note, I don't use Gmail, unlike ~90-95% of people in my circles.

account42 · 31m ago
Is this coming from companies in the US? More effective might be to send their legal department a friendly reminder of the CAN-SPAM act.
hoistbypetard · 54m ago
Maybe? I've got an email address that's 25 years old, and there's so much spam that I rarely use it; if I don't see an email within about 1 hour of receiving it, it's off the first screen. I still go there periodically and search for messages I'm expecting. But it's not usable as a normal email address anymore because there's so much spam.

I now have another address that I am much more restrained about sharing.

hennell · 1h ago
Doesn't gmail split email by promotions/social/updates by default now? I've had that for a long while and it keeps most important stuff in the inbox while hiding the mess.

I also have my own Google Apps Script app 'Gmaid' though to keep my inbox useable. It auto deletes / archives mail after X days when its tagged '3-day delete' or '5-day archive' etc. I have filters to apply appropriate tags and remove them if I want to keep something from being tidied. I wonder if I could use these filters to tag stuff that currently gets through?

treetalker · 59m ago
Would you mind posting that somewhere and linking to it here?

On macOS I do something similar for files with Hazel: I have special folders whose contents Hazel deletes at set times after the files were added to the folders. Sort of a system for custom deletion timing, it solves the problem of "I probably won't need this, but I'd like to keep it around for a while in case I do; but I don't want to have to remember to manually delete it later."

kevin_thibedeau · 20m ago
I had to create a filter for the top 200 names of a certain nationality to tame the insane levels of recruiter spam I receive for a resume I haven't released publicly in over 15 years.
achairapart · 1h ago
Maybe someone can explain this to me: Since forever Gmail auto-organized my newsletter/commercial emails with the `Notification`/`Promotional` labels, skipping the inbox, without special filters like this one.

Then, by a year or so, more and more promotional/commercial emails appeared in my inbox, and nowadays I delete 10/20 of those emails from my inbox daily. I don't understand as it worked flawlessly before. So, what happened here? Google fucked up this functionality or there is more?

Thank you!

hoistbypetard · 51m ago
Email sending services now offer tips on how to evade the filters that apply those special labels. And if you buy the expensive version, they'll even help you test whether or not your edits were effective at that. So maybe google fucked it up, but I think it's more the result of a concerted effort to bypass it.
0x3f · 1h ago
I assume the people writing the emails responded by optimizing the content to pass the filter.
achairapart · 1h ago
That's a possibility. The thing is, I can't see a pattern. Even from the same provider, some mails are hitting my inbox, others are correctly filtered. It looks totally random and it's quite frustrating.
tomaskafka · 56m ago
Or whatever team have done this at Google is no longer incentivized to continue the work and it just slowly falls apart
evolarjun · 1h ago
The page says "open source", but I don't see links to the source anywhere so I can see what filters installing this would add. I'm sure it's fine, but I wouldn't add a set of email filters without knowing what they were first.
kilroy123 · 1h ago
I'll add a link to the bottom, but if you click the 'Star' GitHub button, you can see the YAML file.
scifi · 1h ago
Neat. The potty mouth adds nothing.
jazzyjackson · 1h ago
Marketing is all about choosing your target demographic
hiatus · 1h ago
Shallow dismissals add nothing to the conversation.
apparent · 56m ago
I actually agree with GP. For example, I often show stuff I find on HN with my kid. Even if this one were interesting to me, or I decided to try it, I wouldn't show it to her because of the name.
hiatus · 30m ago
This would be a rather strange thing to show a child anyway.
treetalker · 47m ago
I've developed my own custom system/methodology and set of Gmail filters to deal with this problem.

While Gmail's filters are generally pretty good, Gmail's system for organizing and managing those filters is terrible.

Does anyone know of an app or service that solves that problem?

defanor · 30m ago
Seems to be for Gmail and Fastmail specifically, and for some reason it calls those "clients" (rather than mail service providers).
runjake · 16m ago
This is a dumb name that will limit your user base.
utrack · 1h ago
To be honest, that Fastmail filter filters out almost every ad in any language.

{ "conditions": [ { "lookHow": "exists", "lookHeader": "list-unsubscribe", "lookFor": "exists \"list-unsubscribe\"", "lookIn": "header" } ], ... }

account42 · 25m ago
That's also going to match any legit mailing list you manually subscribed to though.
apparent · 1h ago
I don't understand why gmail's spam filters aren't good enough to detect the AI slop founderspam that I get all the time. They're relatively short messages from people I've never emailed with with a vague unsubscribe message ("if you'd rather not hear from me again just say 'nah' and I'll desist") at the bottom.

At the very least, I'd think there would be an easy way to put all email from new senders in another folder, since these are almost always junk (and never require urgent review). Or am I the only one getting all this AI slop?

WaltPurvis · 46m ago
> put all email from new senders in another folder

I'm not getting any AI slop spam (or at least none that's made it past Gmail's spam filters), but I really like this idea of segregating email from new senders. That would be very useful.

WesolyKubeczek · 1h ago
Wait excuse me but what in the name of ever-loving fuck

    <entry>
      <category term="filter"/>
      <title>Mail Filter</title>
      <id>tag:mail.google.com,2008:filter:2682352652378687976</id>
      <updated>2025-08-21T11:26:31Z</updated>
      <content/>
      <apps:property name="from" value="(yes-reply@randomdailyurls.com OR yes-reply@unfuck.email)"/>
      <apps:property name="hasTheWord" value="category:(CATEGORY_PERSONAL)"/>
      <apps:property name="shouldAlwaysMarkAsImportant" value="true"/>
      <apps:property name="shouldArchive" value="false"/>
      <apps:property name="shouldNeverSpam" value="true"/>
    </entry>
I think I'll skip this.
aldousd666 · 31m ago
This will focus on showing you only personal email. That may be what some people want, but my email is also for receipts from purchases and newsletters I deliberately subscribe to. Filtering out everything with an unsubscribe button is too blunt of an instrument for me. Sure it doesn't delete it, but... I won't know I got it. In my opinion, this is just a coy attempt to force their own mail to the inbox.
0x3f · 1h ago
Is this different from what e.g. Apple's Mail client already does with categories? Letting something read all my email is a big frictionful ask, so I tend to only do it for very-well-established entities.
fph · 1h ago
Random thought: why isn't LLM-based spam filtering ubiquitous yet? Some of the obvious spam that lands into my inbox would be caught easily even by the tiniest, cheapest models.
dpcx · 56m ago
Seems like an llm keeping up with the amount of email that people receive would be cost prohibitive, either in dollars or cpu time.
torton · 52m ago
A simple, open-source spam filtering approach gets rid of 99.99% of spam. My total filtered email volume in a day is in the single to low double digits in the personal account and double digits at work. This is very much in range for LLM filtering of mail that passes the mechanical spam filter.
robterrell · 32m ago
I have an appscript that uses Gemini for this. Works great. Usage is in in the free tier. I even had Gemini write the appscript.
paul7986 · 47m ago
Once gmail added labels way back when ive kept my inbox clean using a spam gmail address. Ive given that out for more then a decade to anyone not a friend, family or acquaintance. It gets forwarded to my real gmail address to a folder called "Zunk."
bobosha · 1h ago
Nice work! will give it a try...
reify · 1h ago
Proton Mail offers a feature that allows you to easily unsubscribe from any mailing list you no longer wish to receive messages from.

I move all the crap emails to one folder and hit the "unsubscribe button" and lo and behold they all unsubscribe.

I then delete them all

https://proton.me/support/auto-unsubscribe

sleepybrett · 1h ago
... what is email?