7. Gmail Tool

OverviewProvides integration with Gmail so agents can drive email-based workflows.

Key capabilities

  • Send emails from a configured Gmail account.
  • Read and inspect emails in the user’s mailbox.
  • Create labels for organizing mail.

Functions

  • send_email – Sends an email using the Gmail API.
  • read_emails – Reads emails from the user’s mailbox.
  • create_label – Creates a new label in the user’s mailbox.
  • get_email_details – Fetches detailed information about a specific email.

Configuration

  • Secrets: gmail_api_key, gmail_client_id, gmail_client_secret
  • Config: api_base_url

Typical AEX use cases

  • Ticket/approval/escalation notifications over email.
  • Personal productivity agents that summarize or triage email.