Idempotent notifications with an outbox: separate detection from sending, re-check before send

· Dev.to