iMac Apple Mail connection to Gmail timed out
I am using macOS Tahoe on my iMac and my apple mail is not linking to my gmail account. I get the error message [Connections to the server "imap.gmail.com" on the default ports timed out.] I had the same issue in my iPhone yesterday but it seems to have resolved itself today.
iMac 27″, macOS 26.5