gmail-ai

AI-enhanced Gmail — smart email triage, priority scoring, AI-generated replies, thread summarization, and automated categorization. IMAP/SMTP with OpenRouter-powered intelligence. Use for inbox zero, email management, smart replies, and email automation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gmail-ai" with this command: npx skills add aiwithabidi/gmail-ai

📧 Gmail AI

AI-enhanced Gmail for OpenClaw agents. Fork of gmail v1.0.6 with AI triage, priority scoring, smart replies, and email summarization.

What's New vs gmail

  • AI triage — auto-categorize emails (urgent/actionable/FYI/spam)
  • Priority scoring — 0-100 score based on sender, subject, content
  • Smart replies — context-aware reply generation in multiple tones
  • Email summarization — TL;DR for long threads
  • Send email — compose and send via SMTP

Requirements

VariableRequiredDescription
GMAIL_ADDRESSYour Gmail address
GMAIL_APP_PASSWORDGmail App Password (create one)
OPENROUTER_API_KEYOptionalFor AI triage, replies, and summaries

Quick Start

# Fetch recent unread emails
python3 {baseDir}/scripts/gmail_ai.py inbox --unread --limit 10

# Fetch by label
python3 {baseDir}/scripts/gmail_ai.py inbox --label INBOX --limit 20

# Fetch from specific sender
python3 {baseDir}/scripts/gmail_ai.py inbox --from "boss@company.com"

# AI triage — categorize emails
python3 {baseDir}/scripts/gmail_ai.py triage --limit 20

# Priority scoring
python3 {baseDir}/scripts/gmail_ai.py priority --limit 20

# Summarize an email thread
python3 {baseDir}/scripts/gmail_ai.py summarize <message_id>

# Generate smart reply
python3 {baseDir}/scripts/gmail_ai.py reply <message_id> --tone professional
python3 {baseDir}/scripts/gmail_ai.py reply <message_id> --tone friendly
python3 {baseDir}/scripts/gmail_ai.py reply <message_id> --tone brief

# Send email
python3 {baseDir}/scripts/gmail_ai.py send --to "recipient@example.com" --subject "Hello" --body "Message body"

# Send with CC/BCC
python3 {baseDir}/scripts/gmail_ai.py send --to "a@b.com" --cc "c@d.com" --subject "Hello" --body "Message"

Commands

inbox

Fetch emails from Gmail via IMAP.

  • --unread — only unread messages
  • --label LABEL — Gmail label/folder (default: INBOX)
  • --from ADDRESS — filter by sender
  • --limit N — max results (default: 10)
  • --since YYYY-MM-DD — emails since date

triage

AI-powered email categorization (requires OPENROUTER_API_KEY).

  • Categories: 🔴 Urgent, 🟡 Actionable, 🔵 FYI, ⚪ Spam/Noise
  • --limit N — number of emails to triage

priority

Score emails 0-100 based on sender importance, subject urgency, and content.

  • --limit N — number of emails to score
  • Factors: known sender, urgency keywords, mentions of you, deadlines

summarize <message_id>

Generate a TL;DR summary of an email or thread.

reply <message_id>

Generate a context-aware reply draft.

  • --tone professional|friendly|brief|formal — reply style
  • --context TEXT — additional context for the reply

send

Send email via SMTP.

  • --to ADDRESS — recipient (required)
  • --subject TEXT — subject line (required)
  • --body TEXT — email body (required)
  • --cc ADDRESS — CC recipient
  • --bcc ADDRESS — BCC recipient

Security Notes

  • Uses Gmail App Passwords (not OAuth) — simpler setup, works with 2FA
  • App Password is NOT your Google password
  • Create one at: Google Account → Security → 2-Step Verification → App Passwords
  • IMAP must be enabled in Gmail settings

Credits

Built by M. Abidi | agxntsix.ai YouTube | GitHub Part of the AgxntSix Skill Suite for OpenClaw agents.

📅 Need help setting up OpenClaw for your business? Book a free consultation

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

aiq-assessment

AIQ(AI商数)评估工具。基于"三层18原子能力"框架,对个人或团队的AI协作效能进行 结构化评估。包含提示素养、算法共情、判断锐度三大维度,覆盖18个可量化的原子能力。 适用于自我诊断、招聘评估、团队AI成熟度审计等场景。触发词:AIQ、AI商数、AI能力评估、 AI协作效能、会不会用AI、AI Native...

Registry SourceRecently Updated
General

Reptile Pet Health Diagnosis Tool | 爬行类宠物健康诊断分析工具

Analyzes uploaded reptile or arachnid videos to identify scale, skin, and body issues, then generates a detailed health diagnosis report.

Registry SourceRecently Updated
General

Whop Digital Sales

Auto-create and manage digital products on Whop.com. Manages product lifecycle from creation to checkout link generation. Uses Whop REST API v1 with Company...

Registry SourceRecently Updated
General

ClawCap

Spending cap proxy for OpenClaw. Enforce hard daily and monthly limits across all your AI models (Claude, GPT, Gemini, and more) under one cap. Stop runaway...

Registry SourceRecently Updated
gmail-ai | V50.AI