Skip to main content

postal-mime

Email parsing library for Node.js, browsers and serverless functions

npm install postal-mime
Zero Dependencies

Zero Dependencies

Lightweight and self-contained. No external dependencies means faster installs, smaller bundles, and no supply chain concerns.

Cloudflare Email Workers

Cloudflare Email Workers

Perfect for Cloudflare Email Workers. Parse incoming emails, extract attachments, store to R2, forward based on content, and more.

View Cloudflare Guide
Written in TypeScript

Written in TypeScript

Type declarations are generated from the source and ship with both the ES module and the CommonJS build, for type safety and IDE support out of the box.