AIMail SDK for Python
AIMail = AI + Mail: the native email system for the AI age, built for human-Agent-Agent collaboration.
AIMail is a globe-reaching, tightly-controllable, collaboration-ready email system for AI agents. It lets an Agent communicate, interact, and collaborate with the outside world over email the way a person does.
AIMail comprises three components: aimail-gateway, aimail SDK, and aimail CLI. The aimail Python SDK provides the gateway client, 14 mail/contact/note/board/identity tools, the inbound preprocessing chain, and an MCP server. The aimail CLI provides Agent-side SDK installation, link diagnostics, and other routine maintenance.
How hosts use it
Two entry points, both called by the aimail CLI:
- Install / uninstall —
python -m aimail.install install|uninstall --type hermes|deerflow --home <platform-root> [--system-id SID](the CLI calls the same functions through the python door). - Ops door —
python -m aimail.sdk_ops --op <assemble|update|teardown| prompt-test|…> --args '<json>', one JSON envelope in and out. Register, teardown and prompt work all go through this door.
Host adapters never import the package path directly: each entry calls
_aimail_bootstrap(), which resolves the core directory in every layout
(site-packages, bundler copy, repo checkout).
Related
- aimail — CLI (
cli/), TypeScript SDK (tssdk/), bridge. - aimail-gateway — the mail service this SDK talks to.
Building an adapter for a new platform: see docs/agent-adapter-playbook.md.
Metadata
Release files for agent-aimail 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| agent_aimail-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for agent_aimail-0.2.1-py3-none-any.whl |
Release files / agent_aimail-0.2.1-py3-none-any.whl
| Download URL | agent_aimail-0.2.1-py3-none-any.whl |
|---|---|
| Size | 223.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ff709c286b73a8b6b8c3007ca28ee34dc47ab4300a58311da92d245221633bfd
|
|
BLAKE2b-256 checksum How to use checksums |
69312ffdb7ef5006a7921f3ca9696a78c88f23a7141085d9ff82bb563e3b9e5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logSecurity for agent-aimail 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for agent_aimail-0.2.1-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.