Outbound mail fails fast when its body is gone.
fix(queue): bounce immediately when the message body is gone
handleFailure treats every error as worth retrying and only bounces once
maxAttempts is spent. A message enqueued before the 2026-08-30 blob-GC
incident therefore spent seven days cycling through attempts that each failed
identically: its body blob no longer exists, so the ninth attempt fails
exactly as the first did.
handlePermanentFailure bounces without consuming the remaining retries. It
fires only on store.ErrNotFound, because the distinction that matters is "the
body is gone" against "the blob store is unwell" -- an I/O error, a
permissions problem, or a store still starting are transient and keep their
backoff. Both read paths are covered, including RawMessageBytes for split
messages where a missing attachment is equally unrecoverable.
Nine wasted attempts is the smaller cost. The larger one is that the DSN the
sender received blamed delivery, when the body is gone and resending is the
only remedy. The bounce now says so.