Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Mail: wait 30 s after Mail opens before reading it

Claude5a808232518e
diff --git a/NotchBuddy/Sources/App/MailController.swift b/NotchBuddy/Sources/App/MailController.swift
index f81f85ec..cbf41621 100644
--- a/NotchBuddy/Sources/App/MailController.swift
+++ b/NotchBuddy/Sources/App/MailController.swift
@@ -126,6 +126,10 @@ final class MailController: ObservableObject {
guard bundleId == Self.bundleId else { return }
Task { @MainActor [weak self] in
self?.isMailRunning = true
+ // Mail just opened: it syncs its accounts first (a minute or two of full CPU on
+ // a big inbox). Coucou waits 30 s before its first read instead of adding to it.
+ try? await Task.sleep(for: .seconds(30))
+ guard Self.mailRunning() else { return }
self?.updatePolling()
}
})