Executive summary
Hiro now recognizes rejected or malformed Google credentials as a recoverable authorization condition instead of exposing a generic Gmail RefreshError.
When invalid credentials are encountered, Hiro automatically starts one interactive Google consent request, preserves the rejected token as a recoverable timestamped backup, and returns structured status to the task dashboard.
The task dashboard now explains the authorization state, offers an explicit Reauthorize Google action, waits for consent to complete, and retries the Gmail import after authorization succeeds.
The live recovery flow completed successfully, and a metadata-only Gmail API request confirmed that the replacement authorization works.