Skip to content
TUIMEX(1)lampseen tools manualTUIMEX(1)

Name

tuimex

A terminal email client that combines several accounts into one inbox.

Mail is handled from the keyboard, one key per action, and every action can be undone. tuimex never loads images or other remote content, so senders cannot tell that a message was opened.

Quick start

$ make install-binary
[ github ↗ ]
Run from a clone of the repository. Ready-made downloads are under Install.
screens
┤ tuimex --fixtures · inbox ├

Mail and calendar. The first row is on every screen. It names the two places tuimex has, mail and the calendar, each with the key that goes to it. The one that is open is bold. Click F2 Calendar in the model to go there.

A model of four tuimex screens with a made-up mailbox, not the application itself. Click any part of a screen to see what it shows. The screens row above the window, and F1 Mail and F2 Calendar in its top row, switch screens. tuimex --fixtures starts the real application with the same sample data.

Overview

tuimex is an email client that runs in a terminal. It combines the mail from several accounts into one inbox, and every common action takes a single key: archive, trash, reply or flag. Any action can be undone.

tuimex does not load remote content. Images and anything else a message links to are never fetched, so a sender cannot detect that a message was opened. Connections to mail servers always use verified TLS, and passwords are stored in the system keyring.

Gmail accounts sign in with an app password or through the browser, and Proton Mail accounts connect through Proton Bridge. The tuimex setup command adds an account, and tuimex doctor checks that every account works and explains how to fix any problem.

Features

One inbox for every account
Mail from all configured accounts appears in a single list. Each row is labelled with the account that received it.
One key per action
e archives a message, d moves it to the trash, r replies and s flags it. Several messages can be selected and handled with one key.
Undo
tuimex does not ask for confirmation. Instead, u reverses the last action, including on the mail server.
No remote content
Messages are displayed as plain text. tuimex does not load images, run scripts or contact any address that a message contains, so opening a message tells the sender nothing. Each link is shown with the site it really leads to.
Original formatting, on request
One key opens a message in the browser with its original formatting. That copy has scripts and forms removed, and it loads images only after the user allows it.
A check before sending
Before a message is sent, tuimex lists every recipient and highlights any whose domain does not appear earlier in the conversation. Sending can still be cancelled for ten seconds after it is confirmed.
Search and saved searches
Each tab is a saved search, such as unread mail in the inbox or mail with attachments from one sender in the last week. A search covers every account.
Calendar
One calendar shows the events of every account by month, week or day. Invitations that arrive by email can be accepted, declined or answered with another time.
AI agent access (optional, off by default)
An AI agent can be given permission to read chosen folders and to write drafts. There is no command that lets an agent send, move, delete or flag mail.

Install

# tuimex_linux_arm64.tar.gz on arm64 curl -LO https://github.com/lampseen/tuimex/releases/download/v0.3.0/tuimex_linux_amd64.tar.gz tar -xzf tuimex_linux_amd64.tar.gz tuimex mkdir -p ~/.local/bin && mv tuimex ~/.local/bin/
Each release archive is signed by the build workflow that produced it. To verify one, run gh attestation verify <archive> --repo lampseen/tuimex. The macOS binary is not signed with an Apple Developer ID, so macOS may show a warning the first time. A Homebrew package is planned.

Limits and guarantees

  • tuimex never fetches anything a message links to: no remote images, tracking pixels, stylesheets or link previews.
  • It writes to four directories of its own and nowhere else. The files in them are readable only by the user.
  • Passwords and tokens are kept in the system keyring. They are never written to a file or to the log.
  • An AI agent cannot send, move, delete or flag mail.
  • Not supported: Windows, Microsoft 365 sign-in, JMAP, writing HTML email, plugins and scripting.

About the name

tuimex is short for TUI mail exchange. A TUI (text user interface) is an application that runs inside a terminal.

Documentation

MIT · Rust · Linux; macOS is tested in CI onlyv0.3.0 · released 2026-11-26TUIMEX(1)