A developer recounts debugging duplicate onboarding emails through four failed fixes using Redis leases, discovering that timeouts cannot guarantee atomicity—each solution introduced new race conditions between checking, claiming, sending, and flagging operations.