areweplaying/pkg/email
Harry Culpan 3684baa2f5 Replace log.Fatal in IMAP fetch goroutine with error channel
log.Fatal called os.Exit from a goroutine, bypassing deferred cleanup
and crashing the process on any transient fetch error. Errors now
propagate back to the caller via a buffered channel. Also adds a drain
defer so the goroutine can always exit if the consumer returns early.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 18:30:27 -04:00
..
config.go Make godotenv.Load() best-effort to support containerized deployments 2026-06-30 18:22:37 -04:00
email.go Add uncommitted changes before migration 2025-12-21 12:25:17 -05:00
fetch.go Replace log.Fatal in IMAP fetch goroutine with error channel 2026-06-30 18:30:27 -04:00
send.go Add uncommitted changes before migration 2025-12-21 12:25:17 -05:00