imap.rs is a repository providing two high-level crates for interacting with IMAP servers asynchronously. It is built on top of the async_imap library.
This repository contains the following two independent crates. Click the links below for detailed installation instructions and usage examples for each.
The fundamental building block for interacting with an IMAP server.
- Purpose: Handles all aspects of establishing a single, secure IMAP session: TCP connection, TLS negotiation, and user authentication (login).
- Best For: Short-lived tasks, simple scripts, or applications where connection reuse is not critical.
- Documentation: View
imap_sessionREADME
A production-grade solution for managing concurrent connections.
- Purpose: Provides a high-performance, asynchronous connection pool using the
deadpoolcrate. It intelligently manages connections, performing recycling and health checks to ensure reliability. - Best For: Server applications, web APIs, or microservices that require high concurrency and frequent, low-latency access to the IMAP server.
- Documentation: View
deadpool_imapREADME
This repository is licensed under the MIT license.