Where your data lives

Mbox Viewer keeps its indexes, imported copies, tags, virtual folders and settings in one app data folder, and its logs in one logs folder. On macOS these are ~/Library/Application Support/com.mboxviewer.viewer/ and ~/Library/Logs/com.mboxviewer.viewer/. On Windows both are under %LOCALAPPDATA%\com.mboxviewer.viewer\, and on Linux both are under ~/.local/share/com.mboxviewer.viewer/. Your .mbox, .eml and .emlx files stay where you put them and are never modified.

Which folders does Mbox Viewer use?

What macOS Windows Linux
App data folder ~/Library/Application Support/com.mboxviewer.viewer/ %LOCALAPPDATA%\com.mboxviewer.viewer\ ~/.local/share/com.mboxviewer.viewer/
Logs folder ~/Library/Logs/com.mboxviewer.viewer/ %LOCALAPPDATA%\com.mboxviewer.viewer\logs\ ~/.local/share/com.mboxviewer.viewer/logs/
Opened attachments (temporary) mbox-viewer-attachments/ in the system temporary folder %TEMP%\mbox-viewer-attachments\ $XDG_RUNTIME_DIR/com.mboxviewer.viewer/attachments/

On Windows the data sits in the local profile rather than the roaming one, because the indexes are large and can be rebuilt on any computer. On Linux the app follows the XDG convention. When XDG_DATA_HOME is set, the app data folder is $XDG_DATA_HOME/com.mboxviewer.viewer/. The size and position of the window go to a third folder, ~/.config/com.mboxviewer.viewer/, or to $XDG_CONFIG_HOME/com.mboxviewer.viewer/ when that variable is set. $XDG_RUNTIME_DIR is usually /run/user/<your user id>. It is a folder that only your account can read, and the system empties it when you log out. Without it, opened attachments go to ~/.cache/com.mboxviewer.viewer/attachments/. Other accounts on the computer cannot read the attachments you open. On Linux the app data folder also holds the storage of the web view that draws the interface. The AppImage and the .deb package share the same folders.

What is inside the app data folder?

File or folder Contents Can be rebuilt?
mailboxes.json The list of open mailboxes with their path, size, date and status Yes, by opening the files again
indexes/<mailbox id>/ The search index of one mailbox and its mailbox-meta.json Yes, with Reindex
imports/<mailbox id>.mbox The mbox copy of an imported .eml file, .emlx file or folder, which takes about the size of the source and twice that during a reindex Yes, with Reindex, while the source exists
imports/<mailbox id>.members.json The list of the .eml files that you opened together as one mailbox Yes, by opening the files again
annotations/<mailbox id>.json The tags and virtual folders of one mailbox No
annotations/removed/ Tags and folders of removed mailboxes, kept for a later reopening No
settings.json Language, reading preferences and MCP server settings, token included Partly
.lock Prevents two copies of the app from using the folder at once Yes

The mailbox id is derived from the full path of the mbox file, or of the .eml file, .emlx file or folder that was imported. That is why a file opened at a new location gets a new index. Its tags and folders follow it when the size and modification date still match.

On macOS and Linux, settings.json is readable and writable by your account only. It holds the MCP access token in clear text, so treat it like a password file.

What is inside the logs folder?

File Contents
App log Startup information, indexing events and errors of the app
mcp-server.log Diagnostic messages of the MCP server. It never contains message bodies, snippets or the token
mcp-audit.jsonl One line per agent request with the time, tool, mailbox, an argument summary and the result
mcp-audit.1.jsonl The previous audit log, kept when the current one reaches 10 MiB

Show audit log in the MCP server (AI agents) section of Settings shows the audit log in Finder, File Explorer or the file manager of your Linux desktop. An agent reads only what the MCP server shares with it.

What happens to the data when I remove a mailbox?

Remove from list in the mailbox menu deletes the index of that mailbox and removes it from mailboxes.json. For an imported source, it also deletes the copy in imports. The mbox file, or the .eml and .emlx files, stay on disk. The tags and virtual folders move to annotations/removed/ and come back if you open a file with the same size and modification date.

When a file is moved or renamed, open it at its new location. Mbox Viewer copies the tags and folders from the entry marked File not found, and you can then remove that entry.

How do I back up and restore my tags and folders?

  1. Quit Mbox Viewer and any AI client that uses its MCP server.
  2. Copy the annotations folder from the app data folder to your backup.
  3. To restore, quit the app again and copy the files back into annotations.

Each file is named after the mailbox id, and the id depends on the path of the mbox file. Restore the files for mbox files that sit at the same paths as before. Tags and folders are tied to the Message-ID of each message, so they survive a reindex.

How do I remove every trace of the app?

System Steps
macOS Delete /Applications/Mbox Viewer.app, then the app data folder and the logs folder
Windows Uninstall from Settings › Apps, then delete %LOCALAPPDATA%\com.mboxviewer.viewer\
Linux Run sudo apt remove mbox-viewer or delete the AppImage file, then delete ~/.local/share/com.mboxviewer.viewer/, ~/.config/com.mboxviewer.viewer/ and ~/.cache/com.mboxviewer.viewer/ if it exists

If you connected an AI client, also remove the mbox-viewer entry from its configuration, or the Mbox Viewer extension from Claude Desktop. Your .mbox files are not touched by any of these steps.

Frequently asked questions

Does Mbox Viewer modify my mbox files?

No. The app and its MCP server open .mbox files read-only, and the import of .eml and .emlx files only reads them. Indexes, imported copies, tags, virtual folders and settings are written to the app data folder instead.

Where are my tags and virtual folders stored?

They are in the annotations folder of the app data folder. Each mailbox has its own <mailbox id>.json file. On macOS that is ~/Library/Application Support/com.mboxviewer.viewer/annotations/. On Windows it is %LOCALAPPDATA%\com.mboxviewer.viewer\annotations\, and on Linux it is ~/.local/share/com.mboxviewer.viewer/annotations/.

What should I back up?

Back up the annotations folder, and settings.json if you want to keep your preferences. The indexes can always be rebuilt from the mbox files, so they need no backup.

Can I delete the indexes to free disk space?

Yes. Use Remove from list in the mailbox menu, which deletes the index of that mailbox and keeps its tags and folders aside. Opening the file again rebuilds the index.

Does Mbox Viewer store anything online?

No. Everything stays on your computer. The app has no account, no telemetry and no update check, and it makes no network connection of its own.

Where are the imported copies of .eml files and folders stored?

They are in the imports folder of the app data folder. Each imported source has its own <mailbox id>.mbox file there. Remove from list deletes the copy, and Reindex writes it again from the source. A copy takes about as much space as its source.

Where are the log files?

On macOS they are in ~/Library/Logs/com.mboxviewer.viewer/. On Windows they are in %LOCALAPPDATA%\com.mboxviewer.viewer\logs\, and on Linux they are in ~/.local/share/com.mboxviewer.viewer/logs/. The same folder holds the MCP audit log, which is named mcp-audit.jsonl.

Do the logs contain my emails?

No. The MCP audit log records the time, the tool, the mailbox and a summary of the arguments of each call, and never message content. The MCP server log never contains message bodies, snippets or the access token.

What happens to my tags if I remove a mailbox from the list?

They are set aside in annotations/removed/ and come back when you open the same file again. Mbox Viewer recognises the file by its size and modification date.

Where do opened attachments go?

An attachment you open is written to a temporary folder and opened with the default app. On macOS and Windows that folder is mbox-viewer-attachments in your temporary folder, and on Linux it is a private folder of your account under $XDG_RUNTIME_DIR. Mbox Viewer deletes it at its next launch.

Can I move the app data folder to another disk?

No. Mbox Viewer always uses the location shown in the tables on this page. You can keep your mbox files on any disk, since only the indexes and annotations live in the app data folder.