pub fn parse_api_error(http_status: u16, body: &[u8]) -> (u16, String)
Parses Gmail’s JSON error envelope, falling back to the raw body; returns the effective status code and message.