Your agent worked yesterday. Today it's throwing 401 errors. Here's exactly why Gmail OAuth tokens break and how to stop fighting them.
OAuth tokens, app passwords, IMAP config, refresh token rotation. Here's why connecting an agent to Gmail is broken and what to do instead.