The problem
Automated report delivery depended on a legacy mail path that was increasingly incompatible with modern security policy.
The implementation
The workflow was changed to use token-based API authentication for sending generated PDF reports. Application permissions, policy behavior and error responses had to be traced end to end.
The production issue
A permission/policy failure initially blocked the API path. The fix required identifying the authorization layer responsible rather than changing the report-generation logic.
Why it matters
Modernizing one transport often exposes dependencies in identity and security policy. The work succeeds when application logic and cloud security are treated as one system.
Moved automated report delivery to a modern authenticated API path.