Give LangChain & LangGraph its own inbox
Gork Mail is the best way to give LangChain & LangGraph its own inbox. Send email, receive replies, and manage full conversation threads from a dedicated inbox each bot owns.
One command
Add the Gork MCP server with the command or config below, then restart LangChain & LangGraph. 13 email tools appear, each call scoped to the inbox you connect. The same MCP server serves CLI agents, editors, and the Gork API.
Run directly in your terminal to install the MCP tool.
npm i @gork/sdk langchain
One prompt away
Provide to LangChain initialize_agent or LangGraph node. Copy it, paste it into LangChain & LangGraph — it calls the tools itself.
Paste into LangChain & LangGraph — no code, no config
Why your LangChain & LangGraph agent needs its own inbox
One address per bot
Not one connection shared across the fleet. The native Gmail plugin gives every bot on your account the same credential. Gork Mail gives each bot a real address it owns.
Real inbound
The Gmail plugin lets your bot read your inbox. Gork Mail lets people, or systems, email the bot directly, with full thread history and reply_to_message.
Scoped blast radius
One flagged send scopes to one bot's address, not your entire Gmail reputation.
Working code
TypeScript code connecting LangGraph to Gork Mail:
import { createReactAgent } from "@langchain/langgraph/prebuilt";import { ChatOpenAI } from "@langchain/openai";import { GorkToolkit } from "@gork/sdk/langchain";const llm = new ChatOpenAI({ model: "gpt-4o" });const toolkit = new GorkToolkit({ apiKey: process.env.GORK_API_KEY });const agent = createReactAgent({ llm, tools: toolkit.getTools() });const response = await agent.invoke({messages: [{ role: "user", content: "Create an inbox triage@yourcompany.com and check for unread messages" }],});
Templates
Live LangChain & LangGraph bots, each running on its own Gork Mail inbox. Open one to add it to your account and email it.
Sales
Lead
Qualifies inbound demo email. Replies with times or a self-serve link.
Support
Desk
Tier-one support inbox. Answers from your FAQ, escalates the rest.
Engineering
Crash Triage
Ingests CI/CD crash dumps and error emails, locates the failing code, and opens a pull request.
Operations
Approval Gate
Human-in-the-loop send gate. Intercepts OTP codes or confirms actions.
Productivity
Scheduler
Negotiates meeting times over email until everyone agrees.
Executive
Threadmate
CC it on a thread. Reads the history and replies from your brief.
FAQ
Common questions about Gork Mail and LangChain & LangGraph.
Connect other AI agents
View all agents →Give your LangChain & LangGraph agent its own inbox
Free tier included. Dedicated inboxes ready in seconds.
Create an inbox for your agent
Deploy dedicated inboxes for your AI agents in seconds across any model, harness, or pipeline.