gmail
Skill by gemini-cli-extensions
Guides an AI assistant through Gmail API tasks, including HTML email formatting, search operators, labels and attachments. It is aimed at users who want help composing, searching or managing Gmail.
Install gmail
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gemini-cli-extensions/workspace /tmp/workspace && mkdir -p ~/.claude/skills && cp -r /tmp/workspace/skills/gmail ~/.claude/skills/gmailRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/gemini-cli-extensions/workspace /tmp/workspace && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workspace/skills/gmail ~/.gemini/antigravity-cli/skills/gmailAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The gmail skill gives an AI assistant guidelines for composing and managing email through the Gmail API. When composing with gmail.send or gmail.createDraft, it asks for HTML formatting with isHtml set to true unless the user wants plain text. It lists supported HTML tags and inline CSS rules. It also covers Gmail search operators for gmail.search, applying and removing system and custom labels with gmail.modify, downloading attachments to absolute paths, and creating threaded reply drafts.
The skill is written as a set of instructions in a SKILL.md file. It warns against script tags, style blocks, external stylesheets and form elements, which email clients do not support reliably. It is aimed at people who want an assistant to handle Gmail tasks in a consistent, professional way. Its description says it should be activated before composing, sending, drafting or searching emails.
Written from the project's SKILL.md and checked against it.
What it can do
- gmail.sendSends email, using HTML with isHtml set to true unless plain text is requested.
- gmail.createDraftCreates drafts, including reply drafts linked to a thread with threadId.
- gmail.searchSearches mail with Gmail operators such as from:, has:attachment and newer_than:.
- gmail.modifyAdds or removes system labels such as INBOX, UNREAD and STARRED, and custom labels by ID.
- gmail.listLabelsLists all labels with their IDs so a custom label can be matched by name.
- gmail.getGets message metadata, including attachment IDs and filenames, when format is 'full'.
- gmail.downloadAttachmentDownloads an attachment by messageId and attachmentId to an absolute local path.
What you need
- Gmail API access
Try asking
- Draft an HTML email to my team summarizing the Q4 results.
- Search my Gmail for unread messages from alice@example.com this month.
- Download the PDF attachment from Bob's latest email to my Downloads folder.
Good to know
- Relative paths for attachment downloads are rejected, so absolute paths are required.
- Gmail strips style blocks, so styling must be inline.
- Properties such as position, float, flexbox and grid are unreliable in email.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/gmail/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to gmail
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
gmail: common questions
Does this skill send HTML emails by default?
Yes. Unless the user asks for plain text, it uses HTML with isHtml set to true. It advises inline CSS because Gmail strips style blocks.
How does it handle replies in a thread?
Use threadId with gmail.createDraft. The service fetches In-Reply-To and References headers from the thread to keep threading intact.
Can it apply custom Gmail labels?
Yes. It calls gmail.listLabels to find the label ID by name, then uses that ID in gmail.modify.
How do I install gmail?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is gmail free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is gmail safe to use?
It scores 80 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to gmail?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
