Describe the bug
If the server doesn't advertise IDLE (or the connection drops repeatedly), we have no fallback. The user gets no new-mail notifications at all on these servers — until the next manual refresh.
Expected behavior
When IDLE is unavailable or persistently failing, fall back to periodic STATUS INBOX (UIDNEXT MESSAGES) polling at a configurable interval (default 60s).
Why it's hard
The fallback has to coordinate with the existing watcher state machine: degrade to polling, return to IDLE if it comes back, and not fight with manual refreshes the user triggers.
Describe the bug
If the server doesn't advertise
IDLE(or the connection drops repeatedly), we have no fallback. The user gets no new-mail notifications at all on these servers — until the next manual refresh.Expected behavior
When IDLE is unavailable or persistently failing, fall back to periodic
STATUS INBOX (UIDNEXT MESSAGES)polling at a configurable interval (default 60s).Why it's hard
The fallback has to coordinate with the existing watcher state machine: degrade to polling, return to IDLE if it comes back, and not fight with manual refreshes the user triggers.