go-imap icon indicating copy to clipboard operation
go-imap copied to clipboard

client: automatic IDLE

Open emersion opened this issue 1 year ago • 1 comments

IMAP was meant to allow servers to send updates at any time, but because clients didn't cope well with that, servers only sent updates when a command is executed, and then IDLE was standardized.

Add a knob to automatically turn on IDLE after a timeout, and stop it right before any other command gets executed. That way clients get more-or-less instant updates for free.

emersion avatar Jun 18 '24 21:06 emersion

I think NOTIFY would provide a better experience, since it doesn't need to be turned off and then on again.

WhyNotHugo avatar Dec 04 '25 13:12 WhyNotHugo