How to Stop npm Email Notifications
npm doesn't let you disable publish notifications. There's no setting to turn them off, reduce frequency, or get a digest. But you can filter them in your email client to keep your inbox clean. This guide shows you how to set up filters in Gmail, Outlook, Fastmail, and iCloud Mail.
Jump to your email provider:
Why npm sends so many emails
Every time you publish a package to npm, you receive a "Successfully published" email. If you maintain a monorepo with 20 packages and release them together, that's 20 identical emails hitting your inbox at once. For teams doing daily releases, this adds up to hundreds of emails per week.
Developers have been asking npm to add a digest option or disable setting since 2018. The official response?
That was 2021. The feedback repo has since been archived. The feature still doesn't exist. So here's how to handle it yourself.
Option 1: Filter & archive (free)
Set up an email filter to automatically archive (or delete) npm publish notifications. You'll still receive the emails, but they won't clutter your inbox.
Gmail
Open Gmail settings
Click the gear icon in the top right, then click See all settings.
Go to Filters and Blocked Addresses
Click the Filters and Blocked Addresses tab, then click Create a new filter.
Set up the filter criteria
In the From field, enter:
support@npmjs.comIn the Subject field, enter:
Successfully publishedClick Create filter.
Set the filter action
Check Skip the Inbox (Archive it) to automatically archive npm emails. Or check Delete it if you don't want to keep them at all.
Click Create filter.
Outlook / Microsoft 365
Open Outlook settings
Click the gear icon in the top right, then click View all Outlook settings.
Go to Rules
Navigate to Mail → Rules, then click Add new rule.
Name and configure your rule
Name it something like Archive npm notifications.
Add two conditions:
- •From contains
support@npmjs.com - •Subject contains
Successfully published
Set the action
Select Move to → Archive.
Click Save.
Fastmail
Open Settings
Click Settings in the bottom left, then go to Filters & Rules.
Create a new rule
Click Create rule.
Set conditions
Set the following conditions (all must match):
- •From is
support@npmjs.com - •Subject contains
Successfully published
Click Continue.
Set the action
Select Move to folder → Archive (or Trash if you prefer).
Click Save.
iCloud Mail
Open iCloud Mail on the web
Go to icloud.com/mail in a browser and sign in. Click the gear icon, then Settings.
Rules can only be created on the web — not in the iOS or macOS Mail apps.
Go to Rules
Select Rules in the sidebar, then click Add Rule.
Configure the rule
Set the condition:
- •Message is from
support@npmjs.com
Set the action:
- •Move to Archive (or Move to Trash)
Click Add to save.
Option 2: Get a digest instead
Filtering hides your npm emails — but you still lose visibility into what's being published. What if you want to know when releases happen, just without the inbox spam?
npmDigest consolidates your npm notifications into a single daily, weekly, or monthly email, with packages grouped by scope and publishing metadata included.
Only pay when you use it: We use postpaid billing — you're only charged for months where emails are actually forwarded. No releases, no charge.
Filter vs. Digest: Which is right for you?
| Email Filter | npmDigest | |
|---|---|---|
| Cost | Free | €4.95/mo (only if used) |
| Inbox clutter | Eliminated | Eliminated |
| Publish visibility | Lost | Consolidated digest |
| Publishing metadata | Hidden in archive | OIDC, token, IP visible |
| Scope grouping | No | Grouped by @org/* |
| Best for | Don't care about publish notifications | Want visibility without spam |
Frequently asked questions
Can you disable npm email notifications?
Why does npm send so many emails?
How do I stop npm publish spam?
Will filtering npm emails affect my account?
Can I get npm notifications as a digest instead?
What about other npm emails like security alerts?
Ready to stop the flood?
Whether you filter or digest, your inbox will thank you.
Try npmDigest free