I wonder if we should inject the `Envelope` instead of the `Message` to get access to the number of retries.