feat(gateway): add Gmail detection, category discovery, and smart label deduplication #7
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Lavisys/mailsweep!7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This change adds Gmail and Google Workspace support to
MailboxGatewayandClassificationEngine:names.
2. Category Mailbox Discovery: Finds and scans tabbed category mailboxes (
[Gmail]/Categories/*,[Gmail]/Luokat/*, and 13language variants). Excludes system mailboxes (
[Gmail]/Trash,[Gmail]/Spam).3. Smart Label Extraction and Deduplication: Reads
X-GM-LABELSandX-GM-MSGIDduring header scans. Combines labels anddeduplicates identical messages across folder views.
4. Offline Test Support: Updates
FakeImapTransport.for_gmail()to simulateX-GM-EXT-1, category folder trees, and Gmaillabels without network calls.
Missing 1 of the commits in this PR (merged previously already).