Gmail Draft Send for Openclaw

An atomic, lean-focused skill designed to trigger the sending of existing Gmail drafts via the command line.

zvirb
v1.0.0
Apr 28, 2026
0
681
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gmail-draft-send

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-draft-send 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 Draft Send?

The Gmail Draft Send skill is a specialized tool within the ecosystem of Openclaw Skills designed for high-efficiency email management. Following the Kaizen philosophy of continuous improvement, this skill acts as an atomic node, focusing exclusively on the final step of the email workflow: dispatching a prepared draft. By leveraging the native gog CLI, it provides a standardized and reliable method for agents to interact with Gmail without manual overhead.

Built with Jidoka principles, this skill ensures that automation is not just fast but intelligent. It includes built-in defect detection to verify that the message was successfully handed off to the Gmail servers, making it a critical component for developers building complex communication pipelines using Openclaw Skills.

Gmail Draft Send Use Cases

  • Automating the final approval and sending phase of generated email marketing campaigns.
  • Programmatically sending pre-templated reports once data verification is complete.
  • Integrating email dispatch into CI/CD pipelines or server-side scripts through Openclaw Skills.
  • Reducing manual intervention in customer support workflows where drafts are staged for review.

How Gmail Draft Send Works

  1. The agent identifies that a specific email draft (referenced by a unique ID) is ready for delivery.
  2. A cognitive directive triggers the execution of the gog terminal command.
  3. The system executes gog gmail drafts send <draftId> --json to initiate the send request.
  4. The Jidoka validation loop captures the JSON output from the CLI.
  5. The skill evaluates the response; if a failure is detected, it automatically retries up to three times before reporting the final status.

Gmail Draft Send Setup

To use this skill within your Openclaw Skills environment, ensure you have the required binary installed and authenticated.

# Install the gog CLI tool
brew install gog # or your preferred package manager

# Ensure you are authenticated with Gmail
gog auth login --service gmail

# Verify draft existence before sending
gog gmail drafts list

Gmail Draft Send Data Schema & Taxonomy

The skill operates using a strict JSON-based schema to ensure compatibility with automated agents and clear logging.

Property Type Description
command string The full CLI command executed: gog gmail drafts send <id> --json
draftId string The unique identifier for the Gmail draft to be sent
status string The result of the operation (e.g., success, error) returned in the output object

Gmail Draft Send Advanced Features

  • Jidoka Autonomous Validation: Automatically detects if the command failed or if parameter hallucinations occurred during the execution phase.
  • Built-in Retry Logic: Includes a standardized logic to retry failed send attempts up to 3 times (max_retries=3) to handle transient network issues.
  • Standardized Work (Hyojun Sagyo): Part of a modular architecture within Openclaw Skills that promotes the most efficient path for automation.
  • JSON Output Integration: Returns raw JSON responses, allowing for easy parsing by downstream agents or logging systems.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*