matcha icon indicating copy to clipboard operation
matcha copied to clipboard

FEAT: Add JMAP push notifications support

Open andrinoff opened this issue 7 months ago • 2 comments

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

andrinoff avatar Apr 16 '26 20:04 andrinoff

This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.

floatpanebot avatar May 17 '26 05:05 floatpanebot

Closing due to inactivity. Reopen if still relevant.

floatpanebot avatar May 31 '26 06:05 floatpanebot