mirror of
https://github.com/bulwarkmail/native.git
synced 2026-11-01 16:05:39 +00:00
ee50418bac88a50b7f68b893430174a6c0c91e9b
"All folders" sent its Email/query only to the account of the open folder, so mail in a shared (group) account the same login reaches never showed up: "zephyr" found the 3 own messages and missed the 5 in the team inbox, although that inbox sits right there in the sidebar. The search now asks the own account and every shared account with folders in the sidebar, like the webmail's `searchAcrossAccounts`: - one request carries Email/query, Email/get and Thread/get for each account (`queryEmailPagesAcrossAccounts`), and the pages are merged under the list order - each row is stamped with its JMAP account (`Email.jmapAccountId`), so opening a hit opens it in that account and read, star, tag, archive, delete, spam and move act there, filing into that account's own Archive, Trash or Junk; one undo restores rows in every account - "load more" continues each account from its own rows on screen rather than one shared offset, which would skip messages of the account with more hits - an account that fails leaves the others' hits on screen with a notice - a push for any account re-runs the search - list keys, thread grouping and conversation sizes are scoped by account, as JMAP ids are only unique per account - deleting a hit judges Trash and Junk by the hit's own folders, not the open folder, both for the move and for the permanent-delete confirm A search scoped to one folder still asks only that folder's account.
Bulwark Mobile
Beta - work in progress. Many features are unfinished or rough. Expect bugs, missing functionality, and breaking changes between releases. Do not rely on this for primary email yet.
React Native (Expo SDK 54) client for Bulwark Webmail - a JMAP-based mail, calendar, and contacts app.
What works today
- Sign in to any JMAP server (e.g. Stalwart)
- Multiple accounts
- Email list, threads, compose
- Calendar (basic)
- Contacts (basic)
- Push notifications via the Bulwark relay - FCM by default, or UnifiedPush (e.g. ntfy) for devices without Google Play services
- In-app sideload updates from GitHub Releases
What's missing or rough
- iOS builds, but push notifications and client certificates are Android-only so far
- S/MIME, plugins, themes - UI stubs only (filters & rules, the vacation responder and file storage are real implementations)
- Calendar editing is partial; contacts editing is basic
- No Play Store distribution yet (sideload APK from Releases); iOS ships via TestFlight
Run locally
npm install
npx expo start
Then press a for Android, i for iOS, or scan the QR with Expo Go.
For release APK builds and signing see docs/android-release.md. For iOS builds and TestFlight distribution see docs/ios-release.md.
License
AGPL-3.0-only. See LICENSE.
Languages
TypeScript
96%
Kotlin
2.1%
JavaScript
0.9%
Swift
0.4%
HTML
0.3%
Other
0.2%