1c0051266157b07ec5b7b2e846dec780cb1d155d
Refactored PollInboxAsync to better handle IMAP connection drops and protocol errors by reconnecting and resuming processing as needed. Switched from using a using statement to explicit disposal in a finally block. Now logs and recovers from transient IMAP issues, and ensures proper cancellation handling by rethrowing OperationCanceledException. This increases service robustness and reliability.
Description
Email spam classifier using Claude AI with IMAP monitoring and system tray UI
Languages
C#
100%