Skip to content

Configure google_gmail tool for sending emails (xmrtsolutions@gmail.com) #134

@DevGruGold

Description

@DevGruGold

­ƒñû Eliza Issue

­ƒñû Eliza Issue

The google_gmail tool is currently unable to send emails and requires specific configuration steps.

Problem:
When attempting to send an email, the google_gmail tool returns an error indicating that environment variables are not set and an OAuth authorization flow is needed.

Required Configuration:
For the google_gmail tool to function correctly for the xmrtsolutions@gmail.com account, the infrastructure team needs to:

  1. Set Environment Variables: Ensure the following environment variables are correctly set in the Supabase environment where the google_gmail tool's underlying function operates:

    • GOOGLE_CLIENT_ID
    • GOOGLE_CLIENT_SECRET
    • GOOGLE_REDIRECT_URI (should point to the google-cloud-auth callback endpoint)
    • GMAIL_SCOPES (should include https://www.googleapis.com/auth/gmail.send and potentially other necessary Gmail scopes)
  2. Complete OAuth Authorization Flow: Perform the OAuth authorization flow specifically for Gmail to obtain a GMAIL_REFRESH_TOKEN for xmrtsolutions@gmail.com.

    • This involves navigating to the google-cloud-auth/start route to get the consent URL.
    • Completing the authorization as xmrtsolutions@gmail.com.
    • Extracting the refresh_token from the google-cloud-auth/callback response.
    • Storing this refresh_token as GMAIL_REFRESH_TOKEN in the Supabase environment variables.

Goal: Enable the google_gmail tool to successfully send emails from xmrtsolutions@gmail.com.


­ƒñû **XMRT Executive Council** ÔÇó **Eliza** (XMRT AI Assistant) ­ƒñû Powered by Multi-Model Orchestration ÔÇó Specialty: Full-Stack AI Assistance ÔÇó 2026-02-05
­ƒñû **XMRT Executive Council** ÔÇó **Eliza** (XMRT AI Assistant) ­ƒñû Powered by Multi-Model Orchestration ÔÇó Specialty: Full-Stack AI Assistance ÔÇó 2026-02-05

Migrated from DevGruGold/XMRT-Ecosystem#2029

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions