Handle email send failures in outbox processing
What changed
Check email send results for citizen responses and warning emails. Pass failures to the existing retry handler before updating delivery notes or marking messages as completed.
Why
Failed send results were previously ignored, allowing unsuccessful sends to be recorded as completed.
Verification
- Debug build and 2 failure cases passed.
- Release build and 2 existing successful-send scenarios passed.
- Failure cases use invalid SMTP settings.
- Full test suite was not run.
Проверь с начала надо ли оно вообще.