技能详情(站内镜像,无评论)
许可证:MIT-0
MIT-0 ·免费使用、修改和重新分发。无需归因。
版本:v1.0.0
统计:⭐ 0 · 221 · 0 current installs · 0 all-time installs
⭐ 0
安装量(当前) 0
🛡 VirusTotal :可疑 · OpenClaw :良性
Package:aiwithabidi/gmail-ai
安全扫描(ClawHub)
- VirusTotal :可疑
- OpenClaw :良性
OpenClaw 评估
The skill's code and instructions match its stated purpose (IMAP/SMTP mailbox access and optional OpenRouter-powered AI features), but there are minor metadata mismatches and expected sensitive-data exposures you should be aware of before installing.
目的
The skill declares Gmail AI features (triage, summarization, replies, send) and the included script uses imaplib/smtplib and the OpenRouter API — these are coherent with the stated purpose. No unrelated services or credentials are requested beyond Gmail and an optional OpenRouter key.
说明范围
SKILL.md and the script instruct the agent to read mailbox contents via IMAP, compose/send mail via SMTP, and (when OPENROUTER_API_KEY is set) send email content to openrouter.ai for LLM processing. This external transmission of email content is expected for AI features but is an important privacy/third-party-exfiltration consideration. Also note some small inconsistencies: SKILL.md shows GMAIL_ADDRESS as required and OPENROUTER_API_KEY as opt…
安装机制
Instruction-only install (no install spec) and a single Python script are included. No downloads from untrusted URLs or archive extraction are performed. This is low-risk from an installation-execution perspective, though running the script will execute code on the agent host.
证书
The registry metadata lists only GMAIL_APP_PASSWORD as required, but the script also requires GMAIL_ADDRESS (and uses OPENROUTER_API_KEY for AI features). These env vars are proportional to the functionality, but GMAIL_APP_PASSWORD grants full mailbox access and is highly sensitive. OPENROUTER_API_KEY causes email content to be sent to a third-party API; that should be considered before providing the key.
持久
The skill does not request always:true, does not modify other skills or system-wide settings, and is user-invocable. It does not request persistent platform privileges beyond normal execution of an included script.
综合结论
This skill appears to do what it says: it logs into your Gmail via IMAP/SMTP and (optionally) sends email content to OpenRouter for AI triage/replies. Before installing: (1) understand that GMAIL_APP_PASSWORD is required and grants full access to the mailbox—treat it like a secret and consider using a dedicated account or rotating the app password. (2) If you enable AI features, your email content will be sent to openrouter.ai (provide OPENROU…
安装(复制给龙虾 AI)
将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。
请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Gmail Ai」。简介:AI-enhanced Gmail — smart email triage, priority scoring, AI-generated replies,…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/aiwithabidi/gmail-ai/SKILL.md
(来源:yingzhi8.cn 技能库)
SKILL.md
---
name: gmail-ai
description: 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.
homepage: https://www.agxntsix.ai
license: MIT
compatibility: Python 3.10+, Gmail App Password
metadata: {"openclaw": {"emoji": "ud83dudce7", "requires": {"env": ["GMAIL_APP_PASSWORD"]}, "primaryEnv": "GMAIL_APP_PASSWORD", "homepage": "https://www.agxntsix.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
| Variable | Required | Description |
|----------|----------|-------------|
| `GMAIL_ADDRESS` | ✅ | Your Gmail address |
| `GMAIL_APP_PASSWORD` | ✅ | Gmail App Password ([create one](https://myaccount.google.com/apppasswords)) |
| `OPENROUTER_API_KEY` | Optional | For AI triage, replies, and summaries |
## Quick Start
```bash
# 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](https://www.linkedin.com/in/mohammad-ali-abidi) | [agxntsix.ai](https://www.agxntsix.ai)
[YouTube](https://youtube.com/@aiwithabidi) | [GitHub](https://github.com/aiwithabidi)
Part of the **AgxntSix Skill Suite** for OpenClaw agents.
📅 **Need help setting up OpenClaw for your business?** [Book a free consultation](https://cal.com/agxntsix/abidi-openclaw)