#pim #email #imap #smtp #sendmail


Rust library to manage your emails

5 releases (3 breaking)

new 0.9.0 Jun 3, 2023
0.8.0 May 19, 2023
0.7.1 Apr 30, 2023
0.7.0 Apr 25, 2023
0.6.0 Apr 19, 2023

#201 in Email

Download history 23/week @ 2023-04-18 151/week @ 2023-04-25 73/week @ 2023-05-02 34/week @ 2023-05-09 67/week @ 2023-05-16 43/week @ 2023-05-23 141/week @ 2023-05-30

289 downloads per month
Used in himalaya

MIT and AGPL-3.0-only


📫 pimalaya-email

Rust library to manage your emails.

See the full API documentation and some examples.

The project is under active development. Do not use in production before the v1.0.0.


The development environment is managed by Nix. Running nix-shell will spawn a shell with everything you need to get started with the lib: cargo, cargo-watch, rust-bin, rust-analyzer, notmuch

# Start a Nix shell
$ nix-shell

# then build the lib
$ cargo build -p pimalaya-email


Before running the test suite you need to spawn an IMAP server. Here an example with docker and greenmail:

$ docker run -it --rm \
  -p 3025:3025 -p 3110:3110 -p 3143:3143 -p 3465:3465 -p 3993:3993 -p 3995:3995 \
  -e GREENMAIL_OPTS='-Dgreenmail.setup.test.all -Dgreenmail.hostname= -Dgreenmail.auth.disabled -Dgreenmail.verbose' \
$ cargo test -p pimalaya-email


If you find a bug that does not exist yet, please send an email at ~soywod/pimalaya@todo.sr.ht.

If you have a question, please send an email at ~soywod/pimalaya@lists.sr.ht.

If you want to propose a feature or fix a bug, please send a patch at ~soywod/pimalaya@lists.sr.ht using git send-email (see this guide on how to configure it).

If you want to subscribe to the mailing list, please send an email at ~soywod/pimalaya+subscribe@lists.sr.ht.

If you want to unsubscribe to the mailing list, please send an email at ~soywod/pimalaya+unsubscribe@lists.sr.ht.

If you want to discuss about the project, feel free to join the Matrix workspace #pimalaya or contact me directly @soywod.



Special thanks to the nlnet foundation that helped Himalaya to receive financial support from the NGI Assure program of the European Commission in September, 2022.


GitHub PayPal Ko-fi Buy Me a Coffee Liberapay


~1.5M SLoC