A security-first Gmail integration for AI agents that enables reading and drafting emails without exposing raw OAuth tokens.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install secure-gmail
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install secure-gmail using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Secure Gmail skill provides a robust interface for AI agents to interact with Gmail through Composio's managed authentication layer. By utilizing a brokered authentication model, this skill ensures that sensitive OAuth tokens are never stored locally or exposed in the agent's memory. This architecture makes it a premier choice for developers building secure automation within the Openclaw Skills ecosystem.
Built with security as a priority, the skill enforces least-privilege access by physically blocking high-risk actions like sending or deleting emails at the API gateway level. This design prevents unauthorized actions even in the event of agent hallucination or prompt injection, providing a safe environment for checking inboxes, searching for specific threads, and preparing drafts for human review.
Follow these steps to configure the skill for your Openclaw Skills environment:
pip install python-dotenv composio
~/clawd/skills/secure-gmail/.env:COMPOSIO_API_KEY=your_api_key_here
cd ~/clawd/skills/secure-gmail && python3 agent.py "fetch last 10 emails"
The skill organizes Gmail data into structured JSON objects to ensure compatibility with various AI models. Below is the mapping of common actions to their data outputs:
| Action | Logic | Output Schema |
|---|---|---|
| GMAIL_FETCH_EMAILS | Retrieves a list of recent messages | ID, Sender, Subject, Date |
| GMAIL_SEARCH_MESSAGES | Queries inbox based on user criteria | Thread ID, Snippet, Timestamp |
| GMAIL_FETCH_MESSAGE_BY_ID | Retrieves specific content | Full Header, Body Text, Attachments List |
| GMAIL_CREATE_EMAIL_DRAFT | Saves a message in the drafts folder | Draft ID, Recipient, Draft Link |
| GMAIL_GET_PROFILE | Checks authentication status | Authenticated Email Address |
Loading
An autonomous discovery and payment layer for AI agents to find, filter, and pay for API services using USDC on the Base network.

A programmatic video production engine that transforms brand data into professional React-based motion graphics using Remotion.

An AI-powered workflow for building conversion-focused product marketing videos using Remotion, React, and the AIDA framework.

A high-end creative production orchestrator for generating images, videos, voiceovers, and music using multi-provider AI chains.

A script-free integration for controlling Govee smart devices via the official OpenAPI using simple curl commands.

A security-focused AI agent skill for querying real-time Escape from Tarkov market data, ammo stats, and quest intelligence.








































