Skip to content

FEAT: Add JMAP push notifications support #656

@andrinoff

Description

@andrinoff

Is your feature request related to a problem? JMAP accounts poll for new mail. No real-time notifications. Wastes bandwidth and battery. Delayed mail delivery.

Describe the solution you would like:

  • Implement JMAP EventSource API
  • Receive push notifications for new mail
  • Update inbox in real-time
  • Fall back to polling if push unavailable
  • Handle reconnection on network issues
  • Show notification indicator in UI

Describe alternatives you have considered: Polling (current - inefficient). Push reduces latency and resource usage.

Additional context:

  • File: backend/jmap/jmap.go
  • JMAP EventSource: SSE or WebSocket
  • Complex state synchronization
  • Need reconnection logic with exponential backoff
  • Complexity: Very High - real-time protocol

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