/// Note: spec defines syncFailed(Error), but Error is not Sendable. /// Using String instead for Swift 6 strict concurrency compliance. public enum SyncEvent: Sendable { case syncStarted case newMessages(count: Int, mailbox: String) case flagsChanged(messageIds: [String]) case syncCompleted case syncFailed(String) }