New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

mailparser

Package Overview
Dependencies
Maintainers
1
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailparser

Parse e-mails

latest
Source
npmnpm
Version
3.9.24
Version published
Weekly downloads
3.6M
-41.86%
Maintainers
1
Weekly downloads
 
Created
Source

mailparser

Nodemailer

[!IMPORTANT] This module is in maintenance mode. It will continue to receive security updates and critical bug fixes, but no new features or feature changes will be added. For new projects, please consider using PostalMime, which works in both Node.js and browser environments.

Advanced email parser for Node.js. Everything is handled as a stream which should make it able to parse even very large messages (100MB+) with relatively low overhead.

Installation

First install the module from npm:

$ npm install mailparser

next import the mailparser object into your script:

const mailparser = require('mailparser');

Usage

See mailparser homepage for documentation and terms.

License

Licensed under MIT

FAQs

Package last updated on 10 Sep 2026

Related posts