Mailbox 2 AI - IMAP - SMTP for AI for LangChain
com.mailbox2ai/mailbox2ai
IMAP for AI and SMTP for AI: read and file mail; send a reply only after you approve it.
client:LangChain
transport:streamable-http
Install Mailbox 2 AI - IMAP - SMTP for AI in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"mailbox2ai": {
"transport": "streamable_http",
"url": "https://app.mailbox2ai.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs