Data Folder and Command-Line Options

What is in the data folder

QuickMail keeps everything in %APPDATA%\QuickMail (usually C:\Users\<you>\AppData\Roaming\QuickMail) unless you start it with --profileDir. The main files are:

File Holds
accounts.json Accounts: servers, ports, names. No passwords
config.ini Your settings
hotkeys.json Keys you assigned yourself
contacts.json, groups.json The address book and contact groups
rules.json Client-side rules
views.json, folderviews.json Saved views, and how each folder was last left
flags.json, watches.json Named flags and watched conversations
templates.json Message templates
custom.lex Words you added to the dictionary
mail.db The copy of your mail kept on this computer
msal.cache Encrypted Microsoft sign-in tokens
quickmail.log, connection.log The application log and the connection diagnostics log

Passwords are not in any of these files. They are in Windows Credential Manager. To move all this to another computer, see Moving Your Settings to Another Computer.

Settings with no switch in Settings

A few settings live only in config.ini. Close QuickMail before editing the file, because QuickMail rewrites it whenever you save settings. Lines starting with # are comments. Changes take effect the next time QuickMail starts.

Setting Values Default What it does
MaxImapConnectionsPerAccount 1–15 6 How many connections QuickMail may open to each account’s mail server at once. Background work stays below this, so opening a message always has room. Raise it only if your provider allows more
AutoDiscoverOnline on / off on Whether adding an account looks up settings on the network for a domain QuickMail does not know; see Automatic settings lookup
GraphPollSeconds 30–600 60 How often a Microsoft 365 account is checked for new mail

You can also set Preview lines for one account by adding a section named after the account’s ID, which is in accounts.json:

[account:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx]
PreviewLines = 1

Command-line options

Option What it does
--profileDir <path> Keep all data in <path> instead of %APPDATA%\QuickMail. The folder is created if needed
--online Fetch everything live from the server and keep nothing on this computer. Search is limited, and the calendar and Outbox are unavailable
file.eml Open an email file in its own window, in the QuickMail already running if there is one
/debug Write detailed diagnostics to quickmail.log
--help List the options and exit

Separate profiles

--profileDir gives you a completely separate QuickMail, with its own accounts, mail, and settings, for example to keep work and personal mail apart:

QuickMail.exe --profileDir "C:\QuickMail\Work"

Each profile can run at the same time as the others. An account you add to a new profile asks for its password as usual. A profile folder belongs to one computer: Microsoft sign-ins and passwords stay on the computer that saved them, so do not share one folder between computers through a synced folder. To move to another computer, see Moving Your Settings to Another Computer.