Skip to content

FEAT: IMAP NOTIFY for multi-folder push (RFC 5465) #1147

@andrinoff

Description

@andrinoff

Describe the feature

Today IDLE only watches one folder per account at a time (typically INBOX). Implement RFC 5465 NOTIFY so a single connection can subscribe to push events for all mailboxes the user cares about (Sent, Drafts, named labels).

Why this matters

Without NOTIFY we miss new mail in any folder the user isn't currently looking at. Server-side rules that route mail to subfolders silently fail to alert.

Notes

  • Detect the NOTIFY capability and prefer it over IDLE when present.
  • Map the per-mailbox events back into our existing IdleUpdate channel with the folder name attached.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions