- Rust 57.8%
- QML 24.8%
- Go 15.9%
- Shell 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| actor-macro | ||
| hydronium | ||
| scripts | ||
| systemd | ||
| third_party | ||
| tools | ||
| .gitignore | ||
| .gitmodules | ||
| .rustfmt.toml | ||
| Cargo.lock | ||
| Cargo.toml | ||
| clickable.yaml | ||
| hydronium.apparmor | ||
| hydronium.desktop | ||
| manifest.json | ||
| README.md | ||
Hydronium
Run the Proton Mail Bridge on your Ubuntu Touch device.
Hydronium is an Ubuntu Touch app for running and managing Proton Mail Bridge on the device itself.
This app gives you a touch-friendly frontend for controlling the Proton Mail Bridge on your Ubuntu Touch phone or tablet. You can install the background service, start and stop it, sign in to your Proton account(s), view the generated mail credentials, and check the bridge logs. Once a your account is added, you use the local IMAP and SMTP settings from Hydronium in a mail client such as Dekko.
- Basic login supported.
- Secondary mailbox password supported (supposedly).
- TOTP/2FA login supported.
Platform
Hydronium is built for the latest version of Ubuntu Touch (24.04
noble). It currently supports amd64 and arm64. The current
ProtonMail Bridge version is 3.26.0.
Changelog
If updating from 1.0.x to 1.1.0+ (which updates the Bridge to
3.25.0+), you may need to adjust your Dekko configuration. The bridge
was exposing incorrect IMAP folder names and thus Dekko had issues
deleting messages. After upgrading and reinstalling the service, make
sure Dekko is pointing at Sent for sent messages and Trash for
deleted messages. These are IMAP folders you can see in the list if
you tap the little folder icon in Dekko's folder configuration for the
account. They are not Dekko's built-in local sent/trash folders.
What The App Does
- Installs and enables a user-level systemd service for the Proton Mail Bridge.
- Allows you to start and stop the bridge service.
- Allows yo to adds and removes Proton accounts to/from the bridge.
- Shows the IMAP and SMTP settings of the bridge.
- Lets you reveal or copy the generated bridge password.
- Shows bridge log output inside the app.
High-Level Technical Overview
This is a high level overview. Of particular importance are the changes to the bridge itself to enable it to work on Ubuntu Touch and with Dekko2 (the UT e-mail app).
The patches and "overlays" to the Proton Mail Bridge do the following:
- SMTP parsing has been changed so outgoing messages with a malformed
MAIL FROMheader work, because Dekko puts the display name in the wrong place (at least as far as the bridge is concerned). - Relaxed SMTP session handling is adjusted so Dekko can log in to the bridge more reliably.
- Changes to extracting recipients from imperfect message headers on incoming messages.
- Keychain limited to backends that make sense on Ubuntu Touch, namely
DBus and
pass. - Hardware security-key support is deliberately disabled.
- Logging is mirrored to standard output and error as well as normal Bridge log files, which allows the app to show the bridge logs.
- A helper application is used to communicate with the bridge's gRPC API to allow managing it from the app.
Repository Layout
hydronium/contains the Rust app, QML UI, icons, and app resources.actor-macro/contains the proc-macro crate used by the app's actor wiring.systemd/contains the user service template for the bridge backend.tools/contains the helper binary source plus Proton Bridge overlays and patches.third_party/proton-bridge/submodule for the Proton Bridge upstream source.
Current Limits
The following limitations apply:
- Completely unconfined on Ubuntu Touch due to running a background daemon.
- Security-key based login is not supported.
- Messages for folders are seemingly not synced. This is a problem with the bridge itself (but is probably fixable).
Credits And License
Hydronium is licensed under the GNU GPL 3.0 or later.
The Proton Mail Bridge is developed by Proton AG and contributors. Hydronium was originally a port of the Hydroxide UI app for Sailfish OS, but has since been rewritten in Rust and backed by the official Proton Mail Bridge instead of Hydroxide.
Some of the patches to the bridge also come from the Proton Mail Bridge Docker project.