9.0 KiB
9.0 KiB
TODO
Product identity
- Rename the program to ep-mail across the app UI, package metadata, desktop builds, and documentation.
- Replace the temporary sun/asterisk app mark with the Git and webmail logo, using the EP Daylight and EP Wasteland color variants.
- Fix the ep-mail logo not appearing in the Windows taskbar.
- Add Android support for the mail app.
- Add macOS support: configure macOS release targets and build the app on a Mac or hosted macOS runner; sign and notarize releases for distribution.
- Show the app version after ep-mail in the window title.
Mail workflow
- Snooze messages until a chosen time and show a follow-up reminder when they return.
- Add a configurable Undo Send delay and scheduled sending.
- Improve mail search with sender, subject, date, folder, and attachment filters.
- Cache recent messages and save drafts offline; queue supported sends and message actions for retry when connectivity returns.
- Group related messages into conversations, with controls to expand or collapse threads.
- Add attachment previews and a dedicated view to find and manage attachments across mailboxes.
- Add configurable keyboard shortcuts for common actions such as compose, archive, reply, and search.
- Warn about suspicious sender addresses and links; require confirmation before opening external links.
- Add per-account rules to sort, archive, label, or flag new incoming messages by sender and/or subject.
- Add per-account signatures, notification preferences, and sync settings.
- Add the ability to create IMAP folders from the app.
- Block remote images by default and let users load them per message on desktop and Android/Web.
Mail security
- Add desktop support for encrypting and decrypting mail with OpenPGP (PGP/MIME); Android has a separate experimental implementation for local testing only. See ENCRYPTION_PLAN.md.
- Phase 1: foundation — OpenPGP.js, passphrase-protected key store (desktop), generate/import/export/delete keys, revocation certificate, tests, Settings UI.
- Phase 2: receive — detect PGP/MIME and inline PGP mail, decrypt on open, verify signatures, show encryption/signature status, handle missing keys and wrong passphrases.
- Phase 3: send — public-key keyring and key import from contacts/messages, encrypt and sign when composing, encrypted copy in Sent, warn instead of silently downgrading.
- Phase 4 (desktop): trust levels and fingerprint verification, key-change warnings, passphrase cache timeout.
- Experimental Android test path: Keystore-encrypted vault key storage, key/contact management, PGP/MIME encryption/signing, and on-demand decryption.
- Exercise native trust-change and plaintext-send confirmations on an emulator, including cancellation.
- Add Android unit tests for trust-elevation, key-replacement, and plaintext-send confirmation decisions.
- Android release gate: instrumented native-dialog UI and bypass tests, full parity/interoperability tests, independent human cryptography/security review, and signed release review.
- Android follow-up: biometric unlock, full vault lifecycle/recovery, signed/inline verification parity, and dependency advisory remediation.
- Phase 5 (automated): large attachments, multiple recipients, corrupted/tampered payloads, inline PGP and PGP/MIME tests.
- Phase 5 (GnuPG): automated interoperability tests with GnuPG 2.5 (both directions: PGP/MIME, inline, clear-signed, detached signatures).
- Phase 6: documentation and release.
- Manual interoperability check with Thunderbird.
- Address findings from the automated OpenPGP security reviews (see SECURITY_REVIEW.md).
- Complete an independent human security review of desktop and Android encryption code before any production reliance or release.
- Pin OpenPGP.js to the exact lockfile version while security review is pending.
- Resolve the current moderate dependency advisories reported by
npm audit --omit=devwith compatibility tests. - Add direct IPC-handler tests for both accept and cancel paths of the main-process plaintext-send confirmation.
- Complete the Android security work in ANDROID_SECURITY_PLAN.md, including Android OpenPGP and release security checks.
- Make Android notification details opt-in, persist the preference in the encrypted vault, and redact lock-screen previews.
- Add an optional native Android app lock using the device credential while leaving background mail sync available.
- Set
FLAG_SECUREwhile the optional app lock is engaged to hide the screen from screenshots and recents previews. - Exercise background lock, credential unlock, and screenshot obscuring on an Android emulator.
- Disclose in account-removal confirmation that downloaded files and global OpenPGP keys are retained.
- Refuse to generate a replacement Keystore key when encrypted vault data already exists; show a fail-closed recovery screen with clear-data guidance.
- Device-test missing/invalidated Keystore keys, corrupted vault data, migration/reinstall behavior, and recovery instructions.
- Define/test full app-data deletion and downloaded-file/OpenPGP-key retention or removal behavior.
- Add app-lock timeout/delay options and decide whether to add biometric unlock; test process recreation and lifecycle transitions.
Appearance and settings
- Fix the startup color-scheme flash so the selected dark theme is applied before the app window appears.
- Make EP Wasteland the default theme for new users.
- Move theme selection into Settings and save the selection so the chosen theme is applied every time the program starts.
- Keep the display name in Account Settings and make it available while adding a mailbox.
Account settings
- Add desktop OAuth2 account setup for Google and Microsoft. Configure provider client IDs with the environment variables documented in
README.md; Android remains password-based. - Fix the mailbox space indicator; it is not working.
- Fix automatic mail sync so the message list refreshes when new mail arrives.
- Sync all connected accounts' mailboxes in the Electron main process at launch/resume and periodically in the background.
- Track
UIDVALIDITY, the last processed UID, andHIGHESTMODSEQper account and folder; fall back to checking message flags when mod-sequences are unavailable. - Add persistent IMAP IDLE watchers for up to two accounts, with reconnect backoff and periodic polling as a fallback for other accounts and servers without IDLE support.
- Add push mail support.
- Prevent overlapping sync runs, limit concurrent account connections, and invalidate in-flight results when an account is edited or removed.
- Send updates to the renderer over IPC and show native notifications for new inbox mail.
- Track
- Add new mail notifications.
- Add an Edit button for each connected mail account so its account settings can be changed after setup.
- Move CalDAV and CardDAV server configuration into Account Settings, removing the server settings controls from the Calendar and Contacts views.
- Keep general Settings focused on appearance and other app-wide preferences rather than the display name.
- Display name must be set per account.
- Remove the display name initials from the bottom-left corner.
- Add the ability to delete draft mails.
- Fix IMAP folder creation, which does not work.
- Improve sidebar usability so all folders fit or can be reached by scrolling; consider collapsing less-used sections.
- Make labels work reliably and support creating and managing additional labels.
- Fix created IMAP folders not showing in the mail rules folder list; only Inbox, Archive and Trash are shown.
- Fix draft mail deletion to work like the Inbox: select multiple drafts and delete the selected drafts at once.
- Show created IMAP folders in the same list as Inbox and the other folders, and move the folder list and the add-folder button to the top row above Inbox. Add scrolling to the IMAP folders area.
- Add desktop public key server support for finding and publishing OpenPGP keys: keys.openpgp.org (VKS), keys.mailvelope.com (HKP over HTTPS), and user-defined HTTPS HKP/VKS servers. Servers are disabled until selected; lookup checks all enabled servers, and publishing requires one explicitly selected destination. Discovered keys remain unverified until fingerprint verification.
- Add the ability to attach multiple files to outgoing mails on desktop and Android/Web, persist them in local drafts, and include them within desktop OpenPGP protection.
- Fix security review findings: confirm key replacement in the main process, enforce the plaintext-send check in the main process, and handle the Linux safeStorage basic_text backend. See SECURITY_REVIEW.md.
- Add the ability to change the passphrase of an encryption key on desktop.