Gmail Client (PM) for Openclaw

A Python-based integration for listing, reading, and sending Gmail messages via an AI agent.

pierremenard
v1.0.1
Feb 6, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gmail-client

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gmail-client using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Gmail Client (PM)?

The Gmail Client is a specialized tool designed to bridge the gap between AI agents and your inbox. By leveraging Openclaw Skills, developers and automated workflows can interact with Gmail using standard IMAP and SMTP protocols. This skill provides a streamlined interface for basic email management without needing a full browser interface, making it ideal for automated notification systems or AI-driven communication management.

Gmail Client (PM) Use Cases

  • Monitoring unread messages for automated summaries.
  • Retrieving specific email content by ID for data processing.
  • Sending automated alerts or reports directly from an AI agent.
  • Streamlining communication workflows within Openclaw Skills environments.

How Gmail Client (PM) Works

  1. The user configures secure environment variables for Gmail access.
  2. The AI agent executes the Python-based script to interface with Gmail servers.
  3. Commands like list retrieve a collection of unread message IDs.
  4. The read command fetches the body of a specific email for analysis.
  5. The send command constructs and transmits new messages using SMTP.

Gmail Client (PM) Setup

To use this within Openclaw Skills, you must set up an App Password in your Google Account to ensure secure access.

export GMAIL_USER="[email protected]"
export GMAIL_PASS="your-app-password"

# Example: List unread emails
python3 skills/gmail-client/scripts/gmail_tool.py list

Gmail Client (PM) Data Schema & Taxonomy

The skill processes email data through CLI arguments and outputs. It relies on environment variables for authentication.

Parameter Type Description
GMAIL_USER Env Var The Gmail address used for authentication
GMAIL_PASS Env Var Google App Password (not your main password)
EMAIL_ID Argument The unique identifier for a specific message
TO/SUBJECT/BODY Argument Fields required for sending a new email

Gmail Client (PM) Advanced Features

  • Multi-command support for listing, reading, and sending within a single skill.
  • Integration ready for Openclaw Skills automation pipelines.
  • Secure authentication using Google App Passwords to maintain account safety.
  • Lightweight Python implementation for minimal resource overhead during execution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*