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?

N
npm-staffStaff
June 2021
"We are discussing features that will allow you to apply preferences... but this work is not currently on the roadmap."
github.com/npm/feedback/discussions/424

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

1

Open Gmail settings

Click the gear icon in the top right, then click See all settings.

2

Go to Filters and Blocked Addresses

Click the Filters and Blocked Addresses tab, then click Create a new filter.

3

Set up the filter criteria

In the From field, enter:

support@npmjs.com

In the Subject field, enter:

Successfully published

Click Create filter.

4

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

1

Open Outlook settings

Click the gear icon in the top right, then click View all Outlook settings.

2

Go to Rules

Navigate to MailRules, then click Add new rule.

3

Name and configure your rule

Name it something like Archive npm notifications.

Add two conditions:

  • From contains support@npmjs.com
  • Subject contains Successfully published
4

Set the action

Select Move toArchive.

Click Save.

Fastmail

1

Open Settings

Click Settings in the bottom left, then go to Filters & Rules.

2

Create a new rule

Click Create rule.

3

Set conditions

Set the following conditions (all must match):

  • From is support@npmjs.com
  • Subject contains Successfully published

Click Continue.

4

Set the action

Select Move to folderArchive (or Trash if you prefer).

Click Save.

iCloud Mail

1

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.

2

Go to Rules

Select Rules in the sidebar, then click Add Rule.

3

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.

Start 14-day free trialNo credit card required

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 FilternpmDigest
CostFree€4.95/mo (only if used)
Inbox clutterEliminatedEliminated
Publish visibilityLostConsolidated digest
Publishing metadataHidden in archiveOIDC, token, IP visible
Scope groupingNoGrouped by @org/*
Best forDon't care about publish notificationsWant visibility without spam

Frequently asked questions

Can you disable npm email notifications?
No. npm does not provide a way to disable or reduce publish notifications. The npm team acknowledged this request in 2021 but stated it's 'not currently on the roadmap.' Your only options are to filter the emails in your email client or use a digest service.
Why does npm send so many emails?
npm sends a separate 'Successfully published' email for every package version you publish. If you maintain a monorepo with 20+ packages and release them together, you'll receive 20+ identical emails. There's no built-in batching or digest option.
How do I stop npm publish spam?
You can set up an email filter to automatically archive or delete npm notification emails. Filter emails from 'support@npmjs.com' with subject containing 'Successfully published'. This keeps your inbox clean while still receiving the notifications.
Will filtering npm emails affect my account?
No. Filtering, archiving, or deleting npm notification emails has no effect on your npm account or packages. These are one-way notifications — npm doesn't track whether you read them.
Can I get npm notifications as a digest instead?
npm doesn't offer a digest option, but npmDigest does. Instead of ignoring your notifications, you can forward them to npmDigest and receive a single daily, weekly, or monthly summary email with all your publishes grouped by scope. There's a 14-day free trial, and you only pay for months where emails are actually forwarded.
What about other npm emails like security alerts?
The filter instructions on this page specifically target 'Successfully published' emails. Security advisories and other npm emails have different subjects and won't be affected by these filters.

Ready to stop the flood?

Whether you filter or digest, your inbox will thank you.

Try npmDigest free