Frequently Asked Questions

Common questions about npm email notifications, privacy, security, and package publishing.

npm Email Notifications

Can you disable npm email notifications?

No. npm does not provide any way to disable or reduce publish notification emails. If you're a collaborator on a package, you will receive an email for every single publish — even minor patch releases. The only workarounds are to set up email filters, remove yourself as a collaborator, or use a service like npmDigest to consolidate notifications into a digest.

Why does npm send so many emails?

npm sends a notification email to every collaborator whenever any version of a package is published. For actively maintained packages or monorepos, this can mean dozens or hundreds of emails per day. npm has stated they have no plans to add notification preferences or digest options.

How do I stop npm publish emails?

You cannot stop npm from sending emails, but you can manage them: (1) Set up email filters in Gmail, Outlook, or other providers to auto-archive or label them, (2) Remove yourself as a collaborator from packages you don't need to monitor, or (3) Use npmDigest to consolidate all notifications into a single daily, weekly, or monthly digest.

Can I get npm notifications as a digest instead of individual emails?

npm doesn't offer a built-in digest option. However, npmDigest provides this exact functionality — it intercepts your npm notification emails and consolidates them into a single digest on your preferred schedule (daily, weekly, or monthly). You get a summary of all publishes without the inbox clutter.

How do I filter npm emails in Gmail?

In Gmail: (1) Search for 'from:support@npmjs.com' to find npm emails, (2) Click the search options icon and select 'Create filter', (3) Choose actions like 'Skip Inbox', 'Apply label', or 'Delete it', (4) Click 'Create filter'. This will automatically organize future npm notifications.

npm Privacy & Security

Is my npm email address public?

Yes, by default. When you publish a package, your email is included in the package metadata and visible to anyone via 'npm view packagename'. This can lead to spam, phishing attempts, and privacy concerns. Consider using an email relay service to protect your real address.

How do I hide my email on npm?

Use an email relay service: (1) Sign up for SimpleLogin, Firefox Relay, DuckDuckGo Email, or iCloud Hide My Email, (2) Create a relay address, (3) Update your npm profile with the relay email, (4) Republish your packages. The relay forwards mail while hiding your real address.

How do I monitor npm publishes for security?

Set up monitoring through: (1) Enable npm audit alerts in your projects, (2) Subscribe to package notifications for dependencies, (3) Use npmDigest to maintain an audit trail of all publishes, (4) Enable two-factor authentication on your npm account, (5) Use OIDC-based publishing from CI/CD instead of long-lived tokens.

What is OIDC publishing on npm?

OIDC (OpenID Connect) publishing allows CI/CD pipelines to publish to npm without storing long-lived tokens. Instead, your CI provider (GitHub Actions, GitLab CI) exchanges a short-lived token with npm's registry. This is more secure because tokens are automatically scoped and expire quickly.

How do I secure my npm account?

Best practices: (1) Enable 2FA on your npm account, (2) Use OIDC publishing instead of automation tokens, (3) Regularly audit your access tokens and revoke unused ones, (4) Review collaborators on your packages, (5) Monitor publish activity through email notifications or npmDigest, (6) Never share tokens or commit them to repositories.

Monorepo Publishing

How do I publish npm packages from a monorepo?

Use a monorepo tool that handles versioning and publishing: Lerna with 'lerna publish', Turborepo with Changesets, pnpm with 'pnpm -r publish', or Nx with its publish executor. These tools coordinate version bumps, changelogs, and npm publish across multiple packages.

What is the best monorepo tool for npm packages?

It depends on your needs: Lerna is battle-tested with great npm publishing support, Turborepo excels at build caching and pairs well with Changesets for versioning, pnpm workspaces are lightweight with good publishing support, and Nx offers enterprise features. For pure npm publishing, Lerna or Changesets are most mature.

How do I manage versions in a monorepo?

Two strategies: (1) Fixed/locked versioning where all packages share one version (simpler, good for tightly coupled packages), or (2) Independent versioning where each package has its own version (flexible, better for loosely coupled packages). Tools like Lerna and Changesets support both.

How do I automate monorepo publishing with GitHub Actions?

Create a workflow that: (1) Triggers on push to main or manual dispatch, (2) Checks out code and sets up Node.js, (3) Installs dependencies, (4) Configures npm authentication using NPM_TOKEN or OIDC, (5) Runs your publish command (lerna publish, changeset publish, etc.). Use --yes flags to skip interactive prompts.

Why am I getting so many npm emails from my monorepo?

Monorepos often have many packages, and npm sends one email per package per publish. A single release might trigger 10-50+ emails. Solutions: (1) Set up email filters, (2) Remove yourself from collaborators and rely on CI logs, or (3) Use npmDigest to consolidate all notifications into one email per digest period.

About npmDigest

What is npmDigest?

npmDigest is a service that consolidates npm publish notification emails into periodic digests. Instead of receiving individual emails for every package publish, you get a single summary email daily, weekly, or monthly — reducing inbox clutter while keeping you informed about package updates.

How does npmDigest work?

npmDigest provides you with a unique forwarding email address. You update your npm account to use this address, and npm sends notifications there. npmDigest collects these notifications and sends you a consolidated digest on your chosen schedule, organized by package and scope.

How much does npmDigest cost?

npmDigest offers a 14-day free trial. After that, you're only charged for months where you actually receive forwarded emails — it's a postpaid model. If npm doesn't send any notifications in a month, you pay nothing for that month.

Can I try npmDigest for free?

Yes! npmDigest offers a 14-day free trial with full access to all features. No credit card required to start. After the trial, you only pay for months when emails are forwarded — so you're never charged for inactive months.

Does npmDigest store my emails?

npmDigest processes notification emails to generate your digest summaries. Email content is used to extract publish information (package name, version, timestamp) for your digest. Check the privacy policy for full details on data handling and retention.

Related Guides

For more detailed instructions, check out our step-by-step guides:

Still drowning in npm emails?

npmDigest consolidates all your publish notifications into a single daily, weekly, or monthly email.

14-day free trial. Only pay for months you use it.

Start free trial