LangChain Email Agent
2025An AI-powered email agent demonstrating authentication-based tool access and human-in-the-loop approval workflows. The agent must authenticate before accessing email tools, and sending emails requires explicit human approval via LangSmith Studio.
Key Features
- Dynamic tool access — available tools change based on authentication state
- Human-in-the-loop — email sends require explicit approval, editable before sending
- Custom state management — AuthenticatedState tracks user auth status across the graph
- Three tools: authenticate, check_inbox, send_email
- Repository
- GitHub
- Platform
- Python + LangSmith Studio
- Stack
- LangChain, LangGraph, Gemini 2.0 Flash, LangSmith