Skip to main content
This example demonstrates connecting Gmail (OAuth 2.0) and sending an email using the gmail_send_email feature.

1) Connect (OAuth)

Start the OAuth flow. You’ll receive a redirect_url to send the user to Google.
Expected response:
Complete the browser flow. After your callback_url receives the redirect, the connection is established for user_id.

2) Execute feature (send email)

Example success response:
Notes:
  • Ensure the user completed OAuth before executing features.
  • Some fields (e.g., attachments) may be required depending on your feature configuration.
View source on GitHub → 6_gmail_integration.py