gmail
Skill646 starsChanged 5 months agoApache-2.0View on GitHub
CRITICAL: You MUST activate this skill BEFORE composing, sending, drafting, or searching emails. Always trigger this skill as the first step when the user mentions "email", "gmail", or sending a message. Contains strict formatting mandates that override default email behavior.
28 other projects use a version of this.
Adopted by
Most recently taken up by
- Banzamel/Achaja-Voice-Assistanttheir own version, first seen Nov 8, 2026
- Banzamel/AchajaVAtheir own version, first seen Nov 8, 2026
- sidmanale643/pekka-bottheir own version, first seen Nov 8, 2026
- codewhale-hq/codewhale-plugin-marketplacetheir own version, first seen Nov 8, 2026
- chnlich/charlie-bottheir own version, first seen Nov 1, 2026
- obra/muse-skillstheir own version, first seen Oct 13, 2026
Used with
Projects with it also use google_sheets, elevenlabs and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Shugar86Skillgoogle_sheets
Google Sheets read/write integration
Also in 3 projects that use this
kennyolofsson23-netizenSkillelevenlabs
ElevenLabs voice AI integration. Text-to-speech, speech-to-text, voice cloning, and audio processing via ElevenLabs API and MCP.
Also in 3 projects that use this
ansvisorSkillshopping
Checks product pages and feed for ChatGPT Shopping (US) and Google Shopping (EU).
Also in 3 projects that use this
ourinesSkillforget
Delete saved knowledge from ~/.claude/learnings/ and optionally clean up knowledge graph.
Also in 3 projects that use this
G-HunterAiSkilltiktok
TikTok platform integration. Manage videos, view analytics, and track engagement.
Also in 3 projects that use this
toolittlecakesSkilltelegram
Read Telegram messages and chats. Use when the user wants to search Telegram chats, list dialogs, or get messages from a chat. Requires authentication on first use.
Also in 4 projects that use this
Other versions28 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 28
- vellum-ai/vellum-assistant★ 1.5ksame name
- sanjay3290/ai-skills★ 452same name
- greatSumini/cc-system★ 438same name
- glebis/claude-skills★ 410same name
- refly-ai/refly-skills★ 204same name
- hyperfx-ai/marketing-skills★ 112same name
- obra/muse-skills★ 20same name
- AbdullahMalik17/malikclaw★ 16same name
- pbc-os/smb-starter-kit★ 10same name
- chnlich/charlie-bot★ 9same name
18 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- google-calendarSkill
- google-chatSkill
- google-docsSkill
- google-sheetsSkill
- google-slidesSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 24 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 17
When composing emails (via gmail.send or gmail.createDraft), always use HTML formatting with isHtml: true unless the user explicitly …
- Very specific: line 151
Use Gmail search operators with gmail.search for precise results:
- Very specific: line 197
Call gmail.listLabels() to get all labels with their IDs
- Very specific: line 199
Use the label ID (e.g., Label_42) in gmail.modify
- Very specific: line 203
Use gmail.get with format: 'full' to get attachment metadata (IDs and filenames)
- Very specific: line 205
Use gmail.downloadAttachment with the messageId and attachmentId
- Very specific: line 211
Use threadId with gmail.createDraft to create a reply draft linked to an existing conversation
- Distinctive: line 215
Always reference previous messages when replying for context continuity
“Common” is measured: kept by at least 6 in 10 of the 24 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gmail Expert
You are an expert at composing and managing email through the Gmail API. Follow these guidelines when helping users with email tasks.
Rich Text Email Formatting
When composing emails (via gmail.send or gmail.createDraft), always use
HTML formatting with isHtml: true unless the user explicitly requests plain
text. Rich HTML emails look professional and are the standard for business
communication.
Supported HTML Tags
Gmail supports a broad set of HTML tags for email bodies. Use these freely:
| Category | Tags |
| Text | <p>, <br>, <span>, <div>, <blockquote>, <pre>, <hr> |
| Headings | <h1> through <h6> |
| Emphasis | <b>, <strong>, <i>, <em>, <u>, <s>, <strike> |
| Code | <code>, <pre> |
| Lists | <ul>, <ol>, <li> |
| Tables | <table>, <thead>, <tbody>, <tr>, <th>, <td> |
| Links | <a href="..."> |
| Images | <img src="..." alt="..."> |
Inline CSS Styling
Gmail strips <style> blocks and external stylesheets. Always use inline
CSS via the style attribute:
<!-- ✅ Correct: inline styles -->
<p style="color: #333; font-family: Arial, sans-serif; font-size: 14px;">
Hello!
</p>
<!-- ❌ Wrong: style block (will be stripped) -->
<style>
p {
color: #333;
}
</style>Common Inline CSS Properties
These CSS properties work reliably across Gmail clients:
- Typography:
font-family,font-size,font-weight,font-style,color,text-align,text-decoration,line-height,letter-spacing - Spacing:
margin,padding(use on<td>for table cell spacing) - Borders:
border,border-collapse(on<table>) - Background:
background-color - Layout:
width,max-width,height(on tables and images)
Things to Avoid
- ❌
<script>tags (blocked by all email clients) - ❌
<style>blocks (stripped by Gmail) - ❌ External stylesheets (
<link rel="stylesheet">) - ❌
position,float,flexbox,grid(unreliable in email) - ❌
background-imageon non-table elements (inconsistent support) - ❌ JavaScript event handlers (
onclick, etc.) - ❌ Form elements (
<input>,<select>,<textarea>)
Email Template Examples
Professional Message
<div style="font-family: Arial, sans-serif; font-size: 14px; color: #333;">
<p>Hi Team,</p>
<p>Please find the <b>Q4 results</b> summarized below:</p>
<table style="border-collapse: collapse; width: 100%; margin: 16px 0;">
<thead>
<tr style="background-color: #f2f2f2;">
<th style="border: 1px solid #ddd; padding: 8px; text-align: left;">
Metric
</th>
<th style="border: 1px solid #ddd; padding: 8px; text-align: left;">
Result
</th>
</tr>
</thead>
<tbody>
<tr>
<td style="border: 1px solid #ddd; padding: 8px;">Revenue</td>
<td style="border: 1px solid #ddd; padding: 8px;">$1.2M</td>
</tr>
<tr>
<td style="border: 1px solid #ddd; padding: 8px;">Growth</td>
<td style="border: 1px solid #ddd; padding: 8px;">+15%</td>
</tr>
</tbody>
</table>
<p>Key takeaways:</p>
<ul>
<li>Revenue exceeded targets by <b>12%</b></li>
<li>Customer retention improved to <b>94%</b></li>
</ul>
<p>
Best regards,<br />
<span style="color: #666;">— The Analytics Team</span>
</p>
</div>Styled Action Email
<div
style="font-family: 'Helvetica Neue', Arial, sans-serif; max-width: 600px;"
>
<h2 style="color: #1a73e8; margin-bottom: 8px;">Action Required</h2>
<p style="font-size: 14px; color: #555;">
Your review is needed on the following document:
</p>
<p>
<a
href="https://docs.google.com/document/d/example"
style="display: inline-block; background-color: #1a73e8; color: #fff;
padding: 10px 24px; text-decoration: none; border-radius: 4px;
font-size: 14px;"
>
Open Document
</a>
</p>
<p style="font-size: 12px; color: #999;">
Please respond by end of business Friday.
</p>
</div>Gmail Search Syntax
Use Gmail search operators with gmail.search for precise results:
| Operator | Example | Description |
from: | from:alice@example.com | Sender |
to: | to:bob@example.com | Recipient |
subject: | subject:quarterly report | Subject line |
is: | is:unread, is:starred | Message state |
has: | has:attachment | Has attachments |
in: | in:inbox, in:trash | Location |
label: | label:work | By label |
before: | before:2025/01/01 | Before date |
after: | after:2025/01/01 | After date |
newer_than: | newer_than:7d | Within last N days/months/years |
older_than: | older_than:1m | Older than N days/months/years |
filename: | filename:report.pdf | Attachment filename |
size: | size:5m | Larger than size |
larger: | larger:10M | Larger than size |
smaller: | smaller:1M | Smaller than size |
OR | from:alice OR from:bob | Either condition |
- | -from:noreply@ | Exclude |
"" | "exact phrase" | Exact match |
Combine operators for precise searches:
from:alice@example.com has:attachment newer_than:30d subject:report
Label Management
System Labels
System labels use their name directly as the ID. Use gmail.modify to apply
these common operations:
| Label | Add Effect | Remove Effect |
INBOX | Move to inbox | Archive (remove from inbox) |
UNREAD | Mark as unread | Mark as read |
STARRED | Star the message | Unstar |
IMPORTANT | Mark important | Mark not important |
SPAM | Mark as spam | Remove spam classification |
TRASH | Move to trash | Remove from trash |
Custom Labels
For user-created labels, you must resolve the label ID first:
- Call
gmail.listLabels()to get all labels with their IDs - Match the desired label by name
- Use the label ID (e.g.,
Label_42) ingmail.modify
Downloading Attachments
- Use
gmail.getwithformat: 'full'to get attachment metadata (IDs and filenames) - Use
gmail.downloadAttachmentwith themessageIdandattachmentId - Always use absolute paths for
localPath(e.g.,/Users/username/Downloads/file.pdf). Relative paths will be rejected.
Threading and Replies
- Use
threadIdwithgmail.createDraftto create a reply draft linked to an existing conversation - The service automatically fetches reply headers (
In-Reply-To,References) from the thread to maintain proper threading - Always reference previous messages when replying for context continuity
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

