The engine, the interface, and Mailpro

A self-hosted AI has two parts. The engine runs the model: Ollama or LM Studio. The interface chats with it and gives it tools: Open WebUI, LibreChat or LM Studio itself.

It is the interface that connects to the Mailpro MCP server. Open WebUI does it natively since its fall 2025 releases, and so do LibreChat and LM Studio, all with OAuth sign-in.

Your questions and the AI's answers stay on your machines. Only the calls to Mailpro go out over the Internet, to your Mailpro account hosted in Switzerland.

EnginesOllama, LM Studio
Interfaces with MCPOpen WebUI, LibreChat, LM Studio
Sign-inOAuth 2.1 with automatic registration
What goes outOnly the calls to Mailpro
ModelsQwen, Llama, DeepSeek, Gemma, Mistral…

Why run AI in-house, with Mailpro

Data that stays inside

Your internal documents, your questions and the drafts stay in your network.

Controlled costs

No per-user subscription to an online assistant: the model runs on your hardware.

Your choice of model

A small model for simple tasks, a large one for analysis: switch whenever you like.

The same safeguards

Approval, daily cap, log and suspension, just like with a major assistant.

Example requests to Self-hosted AI

  • →“Add the contacts in this file to the Trade Show list and send them the Thank you template.”
  • →“How many email credits do we have left?”
  • →“Summarize the results of the last campaign.”

Connect your AI to Mailpro

1

Open WebUI (admin): Admin Settings › Integrations › External Tool Servers › + Add Connection, type MCP (Streamable HTTP), OAuth 2.1 authentication.

2

Enter the server address shown in your Mailpro account, on the AI Assistants (MCP) page, then sign in to Mailpro and accept the permissions; in a conversation, turn on the tool from the + menu.

3

LibreChat: the admin declares the server in librechat.yaml under mcpServers, with OAuth sign-in and no credentials to enter.

4

LM Studio: in mcp.json, add the server with its url; LM Studio opens the OAuth sign-in in the browser.

Ollama runs the model but does not connect to MCP servers by itself: use it with Open WebUI or LibreChat.

Good to know with Self-hosted AI

A model that can use tools

Choose a model that supports function calling; a model that is too small ignores the tools or gets the arguments wrong.

Open WebUI: keep the secret key

Set a fixed WEBUI_SECRET_KEY variable, otherwise OAuth connections are lost on every restart.

What leaves your network

The model and the conversations stay with you; the calls to Mailpro go out over HTTPS to your account.

On the Mailpro side, the rules are the same for every assistant: by default, each send waits for your approval, or goes out directly within a daily cap; a log keeps track of everything, and one click suspends all sends. The details.

Self-hosted AI and Mailpro: frequently asked questions

Can Ollama connect to Mailpro by itself?+

No: Ollama runs the model. To use Mailpro, go through an interface that supports MCP servers, such as Open WebUI or LibreChat.

Which model should I choose to send emails?+

A model that supports function calling, large enough: Qwen, Llama, Mistral, DeepSeek and Gemma all have suitable versions.

Does my data stay with me?+

The conversations do. The calls to Mailpro go out to your Mailpro account, hosted in Switzerland.

All questions: AI assistants FAQ.

Your AI and Mailpro, in a few minutes.

Create a free Mailpro account, connect your assistant from the AI Assistants page of your account, and stay in control of every send.