What's Changed
IMAP Connection Stability
- Connection reuse — Reuse existing healthy IMAP connections instead of tearing down and reconnecting every sync cycle. Avoids exhausting server connection limits.
- Operation timeouts — Per-operation deadlines (45s for commands, 3min for full folder sync, 60s for body fetch) with force-close timers that unblock stuck
cmd.Wait()calls when the network is unresponsive. - Non-blocking disconnect —
Disconnect()now uses tryLock with force-close fallback instead of blocking indefinitely onopMu, preventing TUI freezes when the network is down.
Full Changelog: v0.10.3...v0.10.4