feat: multiple protocol support#431
Merged
andrinoff merged 1 commit intofloatpane:masterfrom Mar 31, 2026
Merged
Conversation
1112344 to
9acdfbe
Compare
Signed-off-by: drew <me@andrinoff.com>
9acdfbe to
60ec724
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Add multi-protocol email support by introducing a
backend.Providerinterface and implementing three backends: IMAP, JMAP, and POP3.Why?
Closes #301
Matcha only supports IMAP+SMTP. Users with JMAP providers (Fastmail, Stalwart, Cyrus) or POP3-only providers can't use it at all.
JMAP is the modern successor to IMAP — it's faster (batched JSON-over-HTTP, no connection-per-folder), has built-in push, and is growing in adoption. POP3 is still offered by many providers and is the only option for some older/smaller hosts.
The
Providerabstraction also makes it straightforward to add more backends in the future (e.g., Microsoft Graph for Outlook/O365) without touching the core TUI or command logic.