Metadata-Version: 2.4
Name: langchain-carlyemail
Version: 0.2.0
Summary: LangChain tools, loaders, retrievers, and inbound email events for CarlyEmail.
Project-URL: Homepage, https://carlyemail.com
Project-URL: Documentation, https://docs.carlyemail.com/integrations/langchain
Project-URL: Source, https://github.com/shirschfield/carlyemail
Author: SWH Labs LLC
License-Expression: MIT
Keywords: agents,carlyemail,email,langchain,llm
Requires-Python: >=3.10
Requires-Dist: carlyemail>=0.3.0
Requires-Dist: langchain-core<2,>=0.3
Requires-Dist: pydantic>=2
Provides-Extra: dev
Requires-Dist: fastapi>=0.110; extra == 'dev'
Requires-Dist: pytest>=8; extra == 'dev'
Requires-Dist: ruff>=0.7; extra == 'dev'
Provides-Extra: webhooks
Requires-Dist: fastapi>=0.110; extra == 'webhooks'
Description-Content-Type: text/markdown

# langchain-carlyemail

Give a LangChain agent a real inbox without defining the email tools yourself.

```bash
pip install "langchain-carlyemail @ git+https://github.com/shirschfield/carlyemail.git@main#subdirectory=integrations/langchain-carlyemail"
```

```python
from langchain.agents import create_agent
from langchain_carlyemail import CarlyEmailToolkit

tools = CarlyEmailToolkit.from_api_key().get_tools()
agent = create_agent("openai:gpt-5-mini", tools)
```

The package also exports `CarlyEmailLoader`, `CarlyEmailRetriever`, individual
tool classes, signature verification, and `create_email_router` for a
Cloudflare-style `on_email(event)` callback.

See <https://docs.carlyemail.com/integrations/langchain>.
