mail-parser by stalwartlabs

Fast and robust e-mail parsing library for Rust

emailparserparsingmimemime-parsermailrust
Verdict 70/100 health $4.13/mo cheapest, hetzner 3/5 setup difficulty Last release 9 months ago

Self-host mail-parser on hetzner CAX11 for $4.13/mo.

Health score
70 /100
6-dim composite
Self-hosts from
$4.13 /mo
hetzner · CAX11
Difficulty
3 /5
External DB / setup
GitHub stars
435
59 forks

About mail-parser

From the project's README at github.com/stalwartlabs/mail-parser. Lightly cleaned for readability; for the full source see the upstream repo.

[](https://crates.io/crates/mail-parser) [](https://github.com/stalwartlabs/mail-parser/actions/workflows/rust.yml) [](https://docs.rs/mail-parser) [](http://www.apache.org/licenses/LICENSE-2.0)

mail-parser is an e-mail parsing library written in Rust that fully conforms to the Internet Message Format standard (RFC 5322), the Multipurpose Internet Mail Extensions (MIME; RFC 2045 - 2049) as well as many other internet messaging RFCs.

It also supports decoding messages in 41 different character sets including obsolete formats such as UTF-7. All Unicode (UTF-) and single-byte character sets are handled internally by the library while support for legacy multi-byte encodings of Chinese and Japanese languages such as BIG5 or ISO-2022-JP is provided by the optional dependency encodingrs.

In general, this library abides by the Postel's law or Robustness Principle which states that an implementation must be conservative in its sending behavior and liberal in its receiving behavior. This means that mail-parser will make a best effort to parse non-conformant e-ma

Health score breakdown

6-dimension composite. See methodology for formula and weights.

activity
63
maturity
100
community
76
security
85
sustainability
100
adoption
23

Adoption signals

Real-world usage data, pulled from each registry. The bigger the numbers, the more battle-tested the project.

SignalValueSource
GitHub stars 435 github.com/stalwartlabs/mail-parser
GitHub forks 59 github.com/stalwartlabs/mail-parser
CRATES downloads (last month) 592k mail-parser

Release & maintenance

Is this project actively maintained, or about to die? Check the recency of last commit and last release.

Project age4.6 yearssince Oct 2021
Last commit5 days agoMay 2, 2026
Releases shipped27last: 9 months ago
Security policySECURITY.mddeclared by maintainers
Funding links2declared by maintainers

Self-hosting cost across providers

Detected requirements: 4GB RAM, 40GB disk minimum. Cheapest plan per provider that meets the requirement.

ProviderPlanSpecsMonthly
hetzner CAX11 2c · 4GB · 40GB $4.13 USD Deploy →
vultr VC2 1c · 1GB · 25GB $5 USD Deploy →
linode Nanode 1GB 1c · 1GB · 25GB $5.12 USD Deploy →
digitalocean Basic Regular 1GB 1c · 1GB · 25GB $6 USD Deploy →

Ready to self-host mail-parser?

Spin up a hetzner CAX11 (4GB RAM, 40GB disk) for $4.13/mo and follow the project's official install docs.

Data last refreshed May 7, 2026.

Similar open-source projects

Projects in our directory that replace the same SaaS or share topics with mail-parser.

Frequently asked questions

Last verified . Data refreshes every 30 minutes.