Connect Gmail inbox in Dify
Retrieves Email from your Gmail inbox matching filter criteria. Source code available here.
To configure OAuth Client:
Enable Gmail APIs and configure the OAuth consent screen. Publish the app or enter test users as needed.
On Gmail tool's OAuth Client Setup popup, fill in the auth credentials from the Google OAuth Client you configured:

Dify displays the in the OAuth Client configuration popup:

Enter this as the Authorized redirect URI in your OAuth Client’s page in Google Cloud Console.