TotalMail / Mail for your own server

Your mail. Your space.
A web app and native apps.

Bring your existing mail accounts together in a TotalMail instance you host yourself. Read and write in any browser, or use the native apps for Mac, iPhone and iPad. Your accounts, folders and drafts stay in step.

Ready for your AI agents

Any browser · macOS 14+ · iOS 17+ · Windows · Linux · Android
Toto, the European red fox mascot of Spanish Total.js, holds an envelope.
The TotalMail web app: folders and accounts on the left, the list of conversations and an open message
The TotalMail web app · folders, conversations and the open message.

01 / Where it all starts

The web app, ready in any browser.

TotalMail is a Total.js 5 application you run on your own server. Open its address in a browser and your mail is there: the same accounts, folders, conversations and drafts that the native apps show, always in step with the server.

  • Everything for mail. Conversations, folders you create, rules, server search with operators, drafts saved as you type, attachments, a review before every send.
  • Several accounts, several people. Each person has their own mail accounts and mailbox; administrators add people and set up the account types and the optional assistant.
  • Safe by design. Two-step verification, devices you can sign out, mail passwords kept encrypted on the server, a reader that blocks remote images until you allow them.
  • Yours to install. Node.js or Docker, one process, no database to manage. Open source on GitHub.
The TotalMail web composer: sender, recipient, subject, message and a formatting bar
Writing in the web app · formatting, attachments and a review before sending.
The TotalMail web app in its dark theme, with an open message and the reply buttons
Light and dark, following your system.
The TotalMail web app on a phone, with the folders as a slim bar and an open message
On a phone, in the browser.

02 / Up and running

Start with your own TotalMail.

Run it behind the HTTPS reverse proxy you already use, such as nginx, Caddy or Traefik. The first person to open it creates the administrator, and the administrator adds everyone else.

Docker

git clone https://github.com/totaljs-es/totalmail
cd totalmail
docker compose up -d --build

Node.js 22 or newer

git clone https://github.com/totaljs-es/totalmail
cd totalmail
npm ci --omit=dev
NODE_ENV=production node index.js 8000

People, mailboxes and the encryption key live in one folder: back it up. Read the installation guide

03 / A day with your mail

Everything you do with mail, done well.

Read, answer, find and organize on the device you have in your hand, in the browser or in an app that behaves like it belongs there.

Read at a glance

Conversations are grouped into one line with the number of messages. Swipe to mark, star, archive or trash. One tap filters to unread or starred mail.

  • Every account together, or one at a time
  • Older mail on demand, search on the server

Find anything

Type words, or narrow them down with operators that work the same everywhere.

from:anasubject:invoiceis:unreadhas:attachmentafter:2026-09-01

Write with care

Recipients appear as chips, with suggestions from your own mail. A formatting bar for bold, italic, links, lists and quotes shows its marks as you write, with emoji everywhere and Apple’s Writing Tools on the devices that have them. Drafts are saved as you type and a last review shows who gets what before anything is sent.

Part of your device

Notifications with Mark as Read and Archive buttons, the unread count on the icon, Spotlight, Siri and Shortcuts, and email links that open TotalMail.

04 / Help when you ask for it

An assistant that waits for you.

Summarize a message, translate it, draft a reply, turn a few words into a message, change the tone or check the spelling. You ask, it suggests, and you decide what to use.

  • Your TotalMail's assistant. The model your administrator connected to the server, with the knowledge base when there is one. The card tells you where your text went.
  • Apple Intelligence. Apple's on-device model, on the devices that have it. Nothing leaves the device.
  • You choose. Automatic uses your server's assistant first; one setting picks the other whenever you prefer.
TotalMail on iPhone showing a message with a summary written by the assistant
A suggestion on iPhone, labelled with who wrote it.

05 / Native apps

The same mail, shaped for each screen.

Columns on the Mac and iPad, a clean stack on iPhone. Sign in once on each device and see it listed in My devices, where you can sign it out at any time.

TotalMail on the Mac: the inbox, a message and a summary written by the assistant
Mac · inbox, message and assistant.
The TotalMail composer on the Mac: recipients as chips, a formatting bar and the live preview of bold and lists
Mac · writing
TotalMail on iPad with the list of messages and the open message
iPad · list and message
TotalMail on iPhone showing the inbox with filters
iPhone · inbox
Writing a reply in TotalMail on iPhone
iPhone · reply

Also on Windows, Linux and Android

An app for Windows, Linux and Android opens the web app of your server in a window of its own, with system notifications. Links and signing in with Google or Microsoft open in your browser.

Free and open source. The Windows installer is not signed yet: the first time, choose More info and then Run anyway. On Android, your server must use HTTPS.

WindowsLinuxAndroid

Download from GitHub
TotalMail settings on the Mac: language, assistant and reading options
Settings · language, assistant and reading.

06 / Yours to arrange

In your language, set up your way.

TotalMail speaks English, Spanish, Slovak, German, French, Italian, Portuguese and Greek, with a help window and an About page built into the app. Choose how conversations are grouped, which assistant writes your suggestions and which notifications you want.

EnglishEspañolSlovenčinaDeutschFrançaisItalianoPortuguêsΕλληνικά

07 / Between you and your server

Your mail stays yours.

The app talks to the TotalMail server you enter and to nothing else. Your mail passwords stay on the server, the device key lives in the Keychain, and there is no advertising, tracking or analytics in the app. The web app runs on your own server and sends nothing to us.

Read the privacy policy

Your own mail, your own server

Run TotalMail. Read it anywhere.

TotalMail is built with Total.js and open to the community. Get the server from GitHub and open it in a browser, then add the native apps on the devices you carry.

Download on the App StoreView on GitHub

Web appNative appsmacOS 14+iOS 17+WindowsLinuxAndroidOpen communityTotal.js 5

08 / Contact

TotalMail, on your own server.

Questions about installing TotalMail, the apps or the web app? We help you get it running.

  • Request custom branding
  • Support
  • Report an issue
totaldesktop@totaljs.es

How can we help your team?

Tell us what you need and we’ll suggest a clear next step.

TotalMail · AI & MCP

This website is built to be read by AI assistants. Connect your assistant to these public resources to learn about Spanish Total.js and prepare a project enquiry.

Connect your assistant to our MCP server

No account or token is needed. All tools are read-only public information.

https://totalmail.totaljs.es/mcp/
  1. In Claude or ChatGPT: add a custom connector with this address.
  2. In Claude Code, run:
    claude mcp add --transport http totalmail https://totalmail.totaljs.es/mcp/
  3. In Cursor or VS Code, add it to your MCP configuration:
    { "mcpServers": { "totalmail": { "url": "https://totalmail.totaljs.es/mcp/" } } }

Tools: Mail_topics · Mail_search · Contact_prepare · Network_list · Website_pages · Website_read

Nothing is sent without your confirmation: an assistant can prepare the contact form, but you review and send it.

Made in Europe