Skip to content
LangChain

Proton Mail (unofficial) for LangChain

io.github.sethbang/proton-mail-mcp

Unofficial Proton Mail MCP — send, read, search & organize email over SMTP and IMAP

client:LangChain transport:stdio runtime:npm

Install Proton Mail (unofficial) in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "proton-mail-mcp": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "proton-mail-mcp"],
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

Proton Mail (unofficial) in other clients