add-gmail-tool

Integrate Gmail MCP tools into containerized AI agents with OneCLI-managed OAuth credentials.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/tharunramagiri/bookoraaagent --skill add-gmail-tool-tharunramagiri
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-gmail-tool
Source: https://github.com/tharunramagiri/bookoraaagent/tree/main/.claude/skills/add-gmail-tool
Command: npx skills add https://github.com/tharunramagiri/bookoraaagent --skill add-gmail-tool-tharunramagiri

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @gongrzhe/server-gmail-autoauth-mcp, zod-to-json-schema, tsx, jq, and includes scripts (resource) components.

What problem does it solve?

This skill solves the challenge of providing AI agents with secure, authenticated access to Gmail without exposing raw API keys or credentials to the container environment.

Core Features & Use Cases

  • OneCLI-Native Integration: Uses OneCLI to inject OAuth tokens at request time, ensuring credentials remain protected in a secure vault.
  • Comprehensive Toolset: Enables agents to search, read, send, draft, and manage emails and labels directly through MCP tools.
  • Use Case: Enable your personal AI assistant to autonomously summarize your inbox, draft replies to urgent emails, or organize your labels based on natural language instructions.

Quick Start

Ask your agent to list your recent Gmail labels or search your inbox for specific messages to trigger the Gmail tool integration.

Frequently Asked Questions about add-gmail-tool

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I give my AI agent secure access to Gmail without exposing API keys?

You can integrate Gmail MCP tools into containerized AI agents using OneCLI-managed OAuth credential injection. This ensures credentials remain protected in a secure vault without exposing raw API keys to the container environment.

Can I use MCP tools to search and send Gmail messages from an isolated Docker environment?

Yes, deploying Docker-based MCP servers enables secure email management within isolated agent environments. Agents can directly search, read, send, draft, and manage emails through MCP tools.

Does Gmail integration with AI agents require OneCLI configuration?

Yes, OneCLI configuration is required for Gmail integration with AI agents. It manages the OAuth credential injection needed to securely authenticate containerized agents without exposing raw credentials.

How do I set up an AI assistant to autonomously manage my Gmail inbox and labels?

Set up a containerized AI agent with Docker-based MCP servers and OneCLI for secure OAuth injection. Your assistant can then autonomously summarize inboxes, draft replies, and organize labels based on natural language instructions.

What are the limitations of using OneCLI-managed OAuth for Gmail MCP tools?

The approach requires Docker-based MCP server deployment and OneCLI configuration to ensure credential security and operational isolation. Without this specific containerized infrastructure, secure OAuth injection cannot be maintained.