agentmail 0.1.6

IMAP email client, MCP server, and CLI — read, search, delete, unsubscribe, and manage mailboxes
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.94"
name = "agentmail"
version = "0.1.6"
authors = ["WeekendSuperhero <hello@weekendsuperhero.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "IMAP email client, MCP server, and CLI — read, search, delete, unsubscribe, and manage mailboxes"
homepage = "https://github.com/weekendsuperhero-io/agentmail"
documentation = "https://docs.rs/agentmail"
readme = "README.md"
keywords = [
    "agent",
    "email",
    "imap",
    "mail",
    "mcp",
]
categories = [
    "email",
    "network-programming",
]
license = "Apache-2.0"
repository = "https://github.com/weekendsuperhero-io/agentmail"

[lib]
name = "agentmail"
path = "src/lib.rs"

[[bin]]
name = "agentmail"
path = "src/main.rs"

[dependencies.async-imap]
version = "0.11"
features = ["runtime-tokio"]
default-features = false

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.fast_html2md]
version = "0.0"

[dependencies.futures]
version = "0.3"

[dependencies.hashbrown]
version = "0.16"
features = [
    "rayon",
    "serde",
]

[dependencies.lettre]
version = "0.11"
features = ["builder"]
default-features = false

[dependencies.mail-parser]
version = "0.11"

[dependencies.native-tls]
version = "0.2"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

[dependencies.rmcp]
version = "1.2"
features = [
    "transport-async-rw",
    "transport-worker",
]

[dependencies.schemars]
version = "1.2"
features = ["chrono04"]

[dependencies.secret-lib]
version = "1"
features = [
    "keyring",
    "rustls",
    "tokio",
    "command",
    "derive",
]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["full"]

[dependencies.tokio-native-tls]
version = "0.3"

[dependencies.toml]
version = "1.1"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.uuid]
version = "1"
features = ["v4"]

[lints.clippy]
await_holding_lock = "deny"
cloned_instead_of_copied = "warn"
doc_markdown = "allow"
inefficient_to_string = "warn"
large_stack_arrays = "deny"
manual_let_else = "allow"
manual_string_new = "warn"
missing_errors_doc = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "warn"
redundant_closure_for_method_calls = "allow"
semicolon_if_nothing_returned = "warn"
trivially_copy_pass_by_ref = "warn"
unnested_or_patterns = "warn"