9 breaking releases
0.15.0 | Aug 28, 2023 |
---|---|
0.14.0 | Jul 18, 2023 |
0.13.0 | Jul 9, 2023 |
#16 in #envelope
453 downloads per month
380KB
9K
SLoC
This crate is no longer maintained, because it has been renamed email-lib.
lib.rs
:
Rust library to manage your emails.
The core concept of this library is to implement email actions and to expose them into backend-agnostic abstractions. This way, you can easily build email interfaces without caring about how to connect to an IMAP server or how to send an email via SMTP.
Here some key structures to better understand the concept of the library:
Backend and sender
pimalaya-email
provides two main abstractions---a backend and
a sender---as represented by their respective traits (Backend
and Sender
.)
- A backend provides the ability to interact with an email server (e.g. IMAP or Maildir), by providing read/write operations on folders and messages.
- A sender provides the ability to send emails. This is analogous to the functionality of e.g. the SMTP protocol.
pimalaya-email
provides some default implementations of these
traits, found in their respective modules.
Dependencies
~42–64MB
~1M SLoC