- Reduced polling interval from 1 minute to 10 seconds.
- Added failure handling with a 6-hour block duration for retries.
- Introduced `BlockedEnvelopes` to track and exclude failed envelopes.
- Implemented cleanup for expired blocks in `BlockedEnvelopes`.
- Enhanced error logging to include block duration details.
- Updated debug logging to show counts of blocked envelopes.
- Refactored code for better readability and maintainability.
- Added necessary `using` directives for new functionality.