Apps
Apps
The four Postern apps (web, desktop, iOS, Android), how they get your mail, what each needs, and how the Hub and the apps stay compatible.
Postern has four apps: the web app, the desktop app, and the iOS and Android apps. This page explains how they differ, what each one needs, and which settings belong to a single device. Every app signs in to your Hub and shows the same mailboxes, settings, rules, drafts and per-message state (snooze, pin, mute, follow-up).
| App | Page | How you get it today |
|---|---|---|
| Web | Web app | Built into the Hub: open your Hub's address in a browser. |
| Desktop (macOS, Windows, Linux) | Desktop app | Build it from source. No installers are published yet. |
| iOS (iPhone, iPad) | iOS app | Being prepared for the App Store. Until then, build it from source with Xcode. |
| Android | Android app | Build it from source. |
Two more pages cover what all apps share: pairing a device with a QR code or a short code, and working offline.
Note
Postern is in beta and no releases are published yet. The No app yet? links in the web app point at the project's releases page, which stays empty until the first release.
Direct mode and through your Hub #
An app gets your mail in one of two ways.
Direct mode (the app calls it "on this computer" or "on this phone"). The app runs the same mail engine as the Hub, inside the app. After you sign in, it fetches your mailbox sign-ins from the Hub once, keeps them encrypted on the device, connects straight to Gmail, Outlook, iCloud or your IMAP or JMAP server, and keeps its own copy of your mail. The Hub keeps everything else in sync: your account, mailbox settings, spaces, tags, rules, templates, drafts, settings and per-message state. Because the device has its own copy and its own connection to your providers, it keeps working when the Hub is down. See Working offline.
Through your Hub. The app asks the Hub for everything, and the Hub fetches the mail. This is how the web app always works, because a browser can't talk to mail servers. While you use the web app, the Hub keeps a full copy of your mail (see The Hub's copy of your mail).
| App | Direct mode | Through your Hub |
|---|---|---|
| Web | Never | Always |
| Desktop | The default, when the build includes the mail engine | When you tick Don't keep mail on this computer, or the build has no engine |
| iOS, Android | The default, when the build includes the mail engine | When the engine is missing or couldn't start; the app says so and tries again |
The Hub records every time a device fetches or updates your mailbox sign-ins. You find these entries under Settings → Security as "Mailbox sign-ins sent to one of your devices".
What each app needs #
| App | Needs |
|---|---|
| Web | A Hub that the browser can reach. Passkeys, Web Push and installing the app need HTTPS (or localhost). See HTTPS. |
| Desktop | A Hub that the computer can reach for the first sign-in. After that, only for the things listed in What works without the Hub. Or no Hub at all: the app can run one for you (see Run a Hub on this computer). |
| iOS | A Hub the phone can reach for the first sign-in, a Mac with Xcode to build the app, and a push relay for notifications while the app is closed. |
| Android | A Hub the phone can reach for the first sign-in, the Android SDK and NDK to build the app, and a push relay with Firebase set up for notifications. |
Your mailbox sign-ins are added once, in any app (or the web app), and reach every other device through the Hub. You don't add mailboxes per device.
Comparison #
| Web | Desktop | iOS | Android | |
|---|---|---|---|---|
| Platforms | A current desktop or mobile browser | macOS (Apple silicon and Intel), Windows (x64), Linux (x64 and arm64) | iPhone and iPad | Android phones and tablets |
| Where mail comes from | Your Hub | Direct from providers | Direct from providers | Direct from providers |
| Copy of your mail on the device | What the browser already loaded (IndexedDB) | Full copy | Full copy | Full copy |
| New-mail notifications | Web Push, also with the tab closed (needs HTTPS) | Native notifications while the app runs | Push through the relay (APNs) | Push through the relay (FCM; needs your own Firebase setup) |
| Works without the Hub | No: shows only what it already loaded | Yes, after the first sign-in | Yes, after the first sign-in | Yes, after the first sign-in (not yet tested on Android) |
| Biometric lock | No | No | Face ID, Touch ID or passcode | Fingerprint, face or device PIN |
| How to get it today | Served by your Hub | Build from source | Build from source | Build from source |
Version compatibility #
The Hub and the apps agree on one number: the API version. The Hub publishes it at
/api/v1/info as apiVersion (currently 1), next to its own version and a list of
capabilities.
- Web app. It is built into the Hub, so it always has the Hub's version. There is nothing to keep in step.
- Desktop app. Before it signs in, it reads
/api/v1/info. If the Hub'sapiVersiondiffers from the one the app speaks, it stops with Your Hub is newer than this app ("Update Postern on this computer, then connect again") or Your Hub is too old for this app ("Update your Hub, then connect again"). Details shows both numbers. - iOS and Android apps. They check that the address answers like a Hub, but don't compare the API version.
- Within one API version, the Hub lists optional features as capabilities (for example
passkeys,relayPush,rules,sendLater). Apps hide what the Hub doesn't offer, so an app that is a little newer or older than the Hub keeps working.
The desktop and mobile apps carry their own copy of the mail engine, built from the same
source as the Hub. Keep the Hub and the apps on the same release where you can. postern-hub doctor also checks that the Hub's public address answers with the expected API version (see
Doctor).
Per-device settings #
Most settings sync to all your devices. These belong to one device. A new device starts with the defaults below.
| Setting | Default | Where |
|---|---|---|
| Notifications | On | Web and desktop: Settings → Notifications → This device. Phones: Settings → Notifications → This device. |
| Sound | On | Same place as Notifications. |
| App Lock (Face ID, Touch ID, fingerprint or passcode) | Off | Phones: Settings → This phone → App Lock. |
The desktop app adds settings of its own that live on the computer, not on the Hub: see Desktop App Options.
Note
The Hub also stores a per-device value cacheDays (default 90) for an "offline window". No
app uses it yet: a device in direct mode keeps all the mail it has synced.
Signing a device out #
Settings → Devices lists every device signed in to your account, with its platform, when it was last seen, its last IP address and whether notifications are on. Sign out… ends a device's session at once. The next time that device reaches the Hub, it deletes the mail and mailbox sign-ins it kept. See Lost or stolen device.