Metadata-Version: 2.4
Name: apimend-mail
Version: 0.1.0
Summary: Official sync and async Python SDK for Apimend Mail with typed models, webhook verification, and AI agent tool definitions.
Author: Apimend
License: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Provides-Extra: agents
Requires-Dist: openai>=1.0; extra == "agents"
Requires-Dist: langchain-core>=0.2; extra == "agents"
Requires-Dist: pydantic-ai>=0.1; extra == "agents"

# Apimend Mail Python SDK (`apimend-mail`)

Official sync and async Python client for [Apimend Mail](https://www.apimend.com), with typed models, HMAC webhook verification (`verify_webhook`), SSE event streaming, and ready-to-use tool adapters for **OpenAI Agents**, **LangChain**, and **PydanticAI**.

## Quickstart

```python
from apimend_mail import ApimendMail, pydantic_ai_tools

client = ApimendMail()  # uses APIMEND_API_KEY
res = client.send(
    from_address="hi@acme.dev",
    to="ada@example.com",
    subject="Welcome",
    text="Hello from Python",
    sandbox=True,
)
```

See [apimend.com/topics/sdk](https://www.apimend.com/topics/sdk) for full documentation.
