Skip to content

Mbox Viewer 0.5.1

Choose a tag to compare

@github-actions github-actions released this 02 Dec 20:38
· 10 commits to main since this release

Mbox Viewer does one thing well: open, search and sort an mbox file. Desktop app for macOS, Windows and Linux, AI-ready through its local MCP server. Website: https://baptgb.github.io/mbox-viewer/

Downloads

Platform File
macOS 10.15+ (Intel and Apple Silicon) Mbox Viewer_0.5.1_universal.dmg
Windows 10/11 (x64) Mbox Viewer_0.5.1_x64-setup.exe
Linux x86_64 (glibc 2.35 or later) Mbox Viewer_0.5.1_amd64.AppImage or Mbox Viewer_0.5.1_amd64.deb
Claude Desktop extension Mbox Viewer_0.5.1_macos.mcpb, _windows.mcpb, _linux.mcpb

The installers are not code-signed. On macOS run xattr -cr "/Applications/Mbox Viewer.app" after copying the app (or right-click, Open). On Windows, SmartScreen shows "Windows protected your PC": click "More info", then "Run anyway". On Linux, make the AppImage executable (chmod +x) or install the .deb. Checksums are in SHA256SUMS.txt.

What's new in 0.5.1

New

  • Linux: each release now offers Mbox Viewer_<version>_amd64.AppImage and
    Mbox Viewer_<version>_amd64.deb for x86_64 Linux. They are built on Ubuntu 22.04, so they need
    glibc 2.35 or later: Ubuntu 22.04, Debian 12, Linux Mint 21, Fedora 36, openSUSE Tumbleweed and
    later releases. RHEL 9, Debian 11 and Ubuntu 20.04 are too old (version 'GLIBC_2.35' not found). The .deb
    package depends on libwebkit2gtk-4.1-0, libgtk-3-0 and xdg-utils, which
    sudo apt install ./<file>.deb installs. It puts the app in /usr/bin/mbox-viewer with a menu
    entry and associates .mbox files with it. The AppImage runs from any folder once it is made
    executable (chmod +x). The app keeps its data in ~/.local/share/com.mboxviewer.viewer/
    ($XDG_DATA_HOME/com.mboxviewer.viewer/ when that variable is set) and its logs in the logs
    subfolder, and the size and position of its window in ~/.config/com.mboxviewer.viewer/.
    Attachments you open go to $XDG_RUNTIME_DIR/com.mboxviewer.viewer/attachments/ (or
    ~/.cache/com.mboxviewer.viewer/attachments/), a folder that only your account can read, never
    to the shared /tmp. Menus and shortcuts are the same as on Windows (File › Settings…,
    Ctrl+,), and the File menu has its own Close Window (Ctrl+W) and Quit (Ctrl+Q)
    items, which GTK does not provide. A double-click on a .mbox file whose name is not valid
    UTF-8, such as an old Latin-1 name, opens it instead of stopping the app.
  • MCP server on Linux: the server, the copied client configurations and the Claude Desktop
    extension work on Linux. Inside an AppImage, the app runs from a temporary mount point that
    changes at each launch, so the copied configurations and the exported extension use the
    .AppImage file itself. Each release also attaches Mbox Viewer_<version>_linux.mcpb, whose
    server is the plain executable and needs the WebKitGTK 4.1 libraries on the computer. An
    extension exported from the AppImage holds the AppImage file (about 100 MB) and needs FUSE 2.
    An AppImage on removable media (/media/, /run/media/) gets the same warning as a Mac app
    run from a disk image, and the export refuses it.
  • Command line: the app executable lists, searches and reads the mailboxes indexed by the app
    from a terminal, without opening a window, even while the app is open.
    --list-mailboxes prints each mailbox with its id, kind, status, message count, date range and
    path. --search <mailbox> [<query>] searches one mailbox with the query language of the app,
    with --limit (1 to 1000, default 50), --offset and --sort. --message <mailbox> <id>
    prints the headers, the attachment list and the text of a message (--max-chars cuts it), and
    --thread <mailbox> <id> prints its thread. --labels <mailbox> and
    --tags-and-folders <mailbox> list the labels, tags and folders with their counts (every label,
    without the 100-label limit of the MCP tool). <mailbox> is the id, the name or the start of
    the name, without regard to case or to how accents are encoded in the file name. --json prints
    the same JSON as the matching MCP tool, and --help and --version print the usage and the
    version. Exit code 0 means success (a search that finds nothing included), 1 a mailbox or
    message not found, a mailbox not ready or unreadable tags and folders, 2 a wrong command line,
    3 an unreadable data folder and 4 an output that cannot be written. Errors go to standard error
    and leave standard output empty, and search warnings go to standard error with or without
    --json.

Changes

  • Unknown flags no longer open the app: when the first argument starts with -- and is not a
    command of the app, the executable prints a usage error and exits with code 2 instead of opening
    a window. A file path as the first argument still opens the app as before.

Fixes

  • Opened attachments are private on every system: the temporary copy of an attachment you
    open is now readable by your account only (mode 0600 in a 0700 folder on macOS and Linux), and
    the app refuses a temporary folder that is a symbolic link or belongs to another account
    instead of writing through it. Atomic writes never follow an entry planted at their temporary
    name.
  • The "temporary location" messages of the MCP settings now also tell Linux users where to
    move the app.

Good to know

  • The Linux files are not signed: check them against the SHA256SUMS.txt file of the release.
    The release workflow now writes that file over the files of every platform, Linux included.
    The AppImage needs FUSE 2 (libfuse2, or libfuse2t64 on Ubuntu 24.04); without it, start the
    AppImage with --appimage-extract-and-run. If the window stays blank with some graphics
    drivers, start the app with WEBKIT_DISABLE_DMABUF_RENDERER=1.
  • The command line only reads: it never indexes a file and never changes the mailbox list, the
    settings, the tags, the folders or the logs, and it writes nothing to the MCP audit log. Open and
    index each mailbox in the app first. It reads the data folder of the app directly under your
    account, so it needs no MCP token and sees every mailbox of the sidebar, shared with agents or
    not. On Windows the executable is a windowed program: an interactive cmd.exe does not wait for
    it, so run it with start "" /wait "<path>" ... and read %ERRORLEVEL%, and in PowerShell use
    Start-Process -Wait -PassThru -NoNewWindow -RedirectStandardOutput. The command line reference
    gives both forms.

See the full CHANGELOG.