Lettre is an email library that allows creating and sending messages. It provides:

  • An easy to use email builder
  • Pluggable email transports
  • Unicode support (for emails and transports, including for sender et recipient addresses when compatible)
  • Secure defaults (emails are only sent encrypted by default)

The lettre_email crate allows you to compose messages, and the lettre provide transports to send them.

Lettre requires Rust 1.32 or newer. Add the following to your Cargo.toml:

lettre = "0.9"
lettre_email = "0.9"