https://github.com/primait/imap.rs
Asynchronous IMAP Client built on `async_imap` and Connection Pool implementation
https://github.com/primait/imap.rs
Last synced: about 2 months ago
JSON representation
Asynchronous IMAP Client built on `async_imap` and Connection Pool implementation
- Host: GitHub
- URL: https://github.com/primait/imap.rs
- Owner: primait
- License: mit
- Created: 2025-11-25T11:24:18.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2026-05-21T07:20:09.000Z (2 months ago)
- Last Synced: 2026-05-21T14:29:24.224Z (2 months ago)
- Language: Rust
- Homepage:
- Size: 254 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# imap.rs 🦀: Asynchronous IMAP Client and Connection Pool
[](https://crates.io/crates/deadpool_imap)
[](https://crates.io/crates/imap_session)
[](LICENSE)
`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.
-----
## 🏗️ Crates Overview
This repository contains the following two independent crates. Click the links below for detailed installation instructions and usage examples for each.
### 1\. `imap_session` (Core IMAP Client)
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_session` README](./imap_session/README.md)
### 2\. `deadpool_imap` (Connection Pool)
A production-grade solution for managing concurrent connections.
* **Purpose:** Provides a high-performance, asynchronous connection pool using the `deadpool` crate. 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_imap` README](./deadpool_imap/README.md)
-----
## 📄 License
This repository is licensed under the MIT license.