Proton Mail Bridge application
Go to file
2026-01-21 15:54:03 +00:00
.gitlab ci: update CODEOWNERS 2025-03-24 15:38:03 +01:00
ci ci: DEVEX-54 migrating win runners. 2025-12-15 12:48:48 +01:00
cmd chore: Happy New Year (2026) 2026-01-08 13:00:18 +01:00
dist GODT-2134: fix dock icon on macOS when launched with '--no-window'. 2022-11-22 11:49:52 +00:00
extern chore: Bump VCPKG on Windows; resolve build issues 2025-11-10 12:35:12 +01:00
internal chore: bump badssl pin 2026-01-21 12:43:51 +01:00
pkg chore: Happy New Year (2026) 2026-01-08 13:00:18 +01:00
release-notes chore: Merge branch 'release-notes' into devel 2023-07-07 16:00:56 +02:00
tests chore: Happy New Year (2026) 2026-01-08 13:00:18 +01:00
utils chore(BRIDGE-455): bump go toolchain to 1.24.11; logrus package and cloudflare/circl bump; bump GPA and Gluon; remove ignored vulns 2026-01-08 13:00:18 +01:00
.gitattributes use unreleased for changes 2020-11-20 14:35:24 +01:00
.gitignore test(BRIDGE-133): Bridge E2E UI tests for Windows 2024-09-17 05:23:08 +00:00
.gitlab-ci.yml ci: updated devsecops kit to latest. 2024-07-26 08:54:37 +02:00
.gitmodules feat(BRIDGE-424): implement FIDO2 support 2025-09-24 14:42:15 +00:00
.golangci.yml chore: remove export loop ref and loop-scope assignments (changed with go 1.22) 2025-01-20 14:54:34 +01:00
.grype.yaml fix(BRIDGE-49): Configure gitleaks baseline and grype config 2024-05-02 10:59:43 +00:00
BUILDS.md feat(BRIDGE-316): Changes required for Qt 6.8.2 bump; bumped go to 1.24.0; changes to OS bundler configs; golangci-lint bump; 2025-03-05 14:27:33 +01:00
Changelog.md chore: Kanmon Bridge 3.21.2 changelog. 2025-07-21 16:46:06 +02:00
CONTRIBUTING.md chore: Prepare for issue tracker removal 2024-12-16 10:47:24 +00:00
COPYING_NOTES.md chore(BRIDGE-429): migrate GitHub forks to ProtonMail organization 2025-09-30 12:06:44 +02:00
go.mod fix(BRIDGE-449): IMAP OK heartbeat; gluon bump 2026-01-21 15:54:03 +00:00
go.sum fix(BRIDGE-449): IMAP OK heartbeat; gluon bump 2026-01-21 15:54:03 +00:00
LICENSE We build too many walls and not enough bridges 2020-04-08 12:59:16 +02:00
Makefile feat(BRIDGE-424): implement FIDO2 support 2025-09-24 14:42:15 +00:00
README.md chore: Happy New Year (2026) 2026-01-08 13:00:18 +01:00
TODO.md GODT-1158: Store full messages bodies on disk 2021-11-30 10:12:36 +01:00

Proton Mail Bridge

Copyright (c) 2026 Proton AG

This repository holds the Proton Mail Bridge application. For a detailed build information see BUILDS. The license can be found in LICENSE file, for more licensing information see COPYING_NOTES. For contribution policy see CONTRIBUTING.

Description Bridge

Proton Mail Bridge for e-mail clients.

When launched, Bridge will initialize local IMAP/SMTP servers and render its GUI.

To configure an e-mail client, first log in using your Proton Mail credentials. Open your e-mail client and add a new account using the settings which are located in the Bridge GUI. The client will only be able to sync with your Proton Mail account when the Bridge is running, thus the option to start Bridge on startup is enabled by default.

When the main window is closed, Bridge will continue to run in the background.

More details on the public website.

Launcher

The launcher is a binary used to run the Proton Mail Bridge.

The Official distribution of the Proton Mail Bridge application contains both a launcher and the app itself. The launcher is installed in a protected area of the system (i.e. an area accessible only with admin privileges) and is used to run the app. The launcher ensures that nobody tampered with the app's files by verifying their signature using a hardcoded public key. App files are placed in regular userspace and are signed by Proton's private key. This feature enables the app to securely update itself automatically without asking the user for a password.

Keychain

You need to have a keychain in order to run Proton Mail Bridge. On Mac or Windows, Bridge uses native credential managers. On Linux, use secret-service freedesktop.org API (e.g. Gnome keyring) or pass. We are working on allowing other secret services (e.g. KeepassXC), but for now only gnome-keyring is usable without major problems.

Environment Variables

Dev build or run

  • APP_VERSION: set the bridge app version used during testing or building
  • PROTONMAIL_ENV: when set to dev it is not using Sentry to report crashes
  • VERBOSITY: set log level used during test time and by the makefile

Integration testing

  • TEST_ENV: set which env to use (fake or live)
  • TEST_ACCOUNTS: set JSON file with configured accounts
  • TAGS: set build tags for tests
  • FEATURES: set feature dir, file or scenario to test

Folders

There are now three types of system folders which Bridge recognises:

Windows Mac Linux Linux (XDG)
config %APPDATA%\protonmail\bridge-v3 ~/Library/Application Support/protonmail/bridge-v3 ~/.config/protonmail/bridge-v3 $XDG_CONFIG_HOME/protonmail/bridge-v3
cache %LOCALAPPDATA%\protonmail\bridge-v3 ~/Library/Caches/protonmail/bridge-v3 ~/.cache/protonmail/bridge-v3 $XDG_CACHE_HOME/protonmail/bridge-v3
data %APPDATA%\protonmail\bridge-v3 ~/Library/Application Support/protonmail/bridge-v3 ~/.local/share/protonmail/bridge-v3 $XDG_DATA_HOME/protonmail/bridge-v3
temp %LOCALAPPDATA%\Temp $TMPDIR if non-empty, else /tmp $TMPDIR if non-empty, else /tmp $TMPDIR if non-empty, else /tmp

Files

Base Dir Path
bridge lock file cache bridge.lock
bridge-gui lock file cache bridge-gui.lock
vault config vault.enc
gRPC server json config grpcServerConfig.json
gRPC client json config grpcClientConfig_.json
gRPC Focus server json config grpcFocusServerConfig.json
Logs data logs
gluon DB data gluon/backend/db
gluon messages data gluon/backend/store
Update files data updates
sentry cache data sentry_cache
Mac/Linux File Socket temp bridge{4_DIGITS}