MailMCP MailMCP

Connect LibreChat to your emails

Why connect LibreChat to your emails?

LibreChat is the leading open-source alternative to ChatGPT, giving you full control over your AI stack. You self-host it, choose your models and own your data. But until now, connecting it to your email has required custom development or third-party services that compromise your privacy.

MailMCP brings native email capabilities to LibreChat. Once connected, your AI models can read your inbox, search for specific messages, draft and send replies, schedule emails, manage folders and organize conversations. All through the same chat interface, with the model of your choice — Claude, GPT-4, Mistral, Llama or any other compatible LLM.

Integration is straightforward: add a few lines to your librechat.yaml file with your MailMCP credentials, restart the application, and the email tools become available to all compatible models. No external dependency, no complex configuration.

Connect LibreChat to MailMCP

LibreChat supports MCP via its YAML configuration.

1

Edit librechat.yaml

mcpServers:
  mailmcp:
    type: sse
    url: https://mailmcp.io/mcp/VOTRE_CLIENT_ID
    headers:
      Authorization: Bearer VOTRE_CLIENT_SECRET
2

Restart LibreChat

MailMCP tools will be available with compatible models.

Why use MailMCP with LibreChat?

Open-source friendly

MailMCP integrates seamlessly with your self-hosted LibreChat instance.

Use any LLM

Claude, GPT-4, Mistral, Llama — email tools work with any model that supports MCP.

YAML configuration

Add MailMCP in your librechat.yaml — the same config file you already manage.

Privacy-first approach

Your emails are never stored by MailMCP. Content flows directly between your server and LibreChat.

Full email toolkit

15 tools including read, send, search, schedule, flag, move and folder management.

MailMCP has a free plan with 1 mailbox. For unlimited mailboxes and full capabilities, Pro starts at 1.99 EUR/month.

Frequently asked questions

Does LibreChat support MCP?

Yes. LibreChat supports MCP servers through its YAML configuration file. You can add MailMCP as a tool server, and any AI model used in LibreChat will be able to access email tools. This works with Claude, GPT-4, Mistral, and other MCP-compatible models.

How to connect LibreChat to email?

Add the MailMCP server configuration to your librechat.yaml file under the MCP servers section. Include your SSE endpoint URL and API key from your MailMCP dashboard. After restarting LibreChat, the 15 email tools will be available to all AI agents configured in your instance.

Can I use MailMCP with OpenWebUI?

MailMCP is compatible with any platform that supports the MCP protocol. If OpenWebUI adds MCP support, you will be able to connect MailMCP in the same way. Currently, LibreChat is the recommended open-source chat interface for using MailMCP with self-hosted AI models.

Is LibreChat email integration self-hosted?

LibreChat runs on your own server, and MailMCP provides the email bridge as a hosted service. Your emails are never stored by MailMCP — it acts as a secure proxy. This gives you the privacy benefits of self-hosted AI while adding reliable email connectivity through the MCP standard.

Prêt à connecter vos emails à l'IA ?

Créez votre compte en 30 secondes et récupérez vos identifiants MCP.

Démarrer gratuitement

MailMCP Assistant

Powered by DeepSeek

{{ msg.content }}
{{ msg.content }}