27 releases (7 breaking)

0.22.3 Feb 25, 2024
0.21.0 Jan 27, 2024
0.19.5 Dec 31, 2023
0.15.3 Sep 25, 2023

#97 in Email

Download history 8/week @ 2023-11-11 12/week @ 2023-11-18 18/week @ 2023-11-25 34/week @ 2023-12-02 65/week @ 2023-12-09 74/week @ 2023-12-16 37/week @ 2023-12-23 139/week @ 2023-12-30 98/week @ 2024-01-06 23/week @ 2024-01-13 15/week @ 2024-01-20 73/week @ 2024-01-27 32/week @ 2024-02-03 49/week @ 2024-02-10 256/week @ 2024-02-17 488/week @ 2024-02-24

829 downloads per month
Used in 2 crates

MIT and maybe GPL-3.0+

575KB
14K SLoC

📫 email-lib

Rust library to manage emails.

See the full API documentation on docs.rs.

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

Development

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 email-lib

Testing

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=0.0.0.0 -Dgreenmail.auth.disabled -Dgreenmail.verbose' \
  greenmail/standalone:2.0.0
  
$ cargo test -p email-lib

Contributing

A bug tracker is available on SourceHut. [send an email]

A mailing list is available on SourceHut. [send an email] [subscribe] [unsubscribe]

If you want to report a bug, please send an email at ~soywod/pimalaya@todo.sr.ht.

If you want to propose a feature or fix a bug, please send a patch at ~soywod/pimalaya@lists.sr.ht. The simplest way to send a patch is to use git send-email, follow this guide to configure git properly.

If you just want to discuss about the project, feel free to join the Matrix workspace #pimalaya or contact me directly @soywod. You can also use the mailing list.

Sponsoring

nlnet

Special thanks to the NLnet foundation and the European Commission that helped the project to receive financial support from:

If you appreciate the project, feel free to donate using one of the following providers:

GitHub PayPal Ko-fi Buy Me a Coffee Liberapay

Dependencies

~23–67MB
~1M SLoC