Gmail
For Gmail, in Google Cloud, under Google Auth Platform, then Clients, copy the client id and the secret. Paste them, then press Connect.
Select "Use this client for an AI-powered agent", so the access is marked for an AI agent.
Your credentials stay in the configuration on your computer. tonia never keeps your login details, your passwords, or your secrets.