From aviz85-claude-skills-library
Automates Gmail via Google Apps Script: send emails with HTML/CC/BCC, read/search inbox with filters, create drafts, mark as read. Useful for email workflows in code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aviz85-claude-skills-library:gmailThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> **First time?** If `setup_complete: false` above, run `./SETUP.md` first, then set `setup_complete: true`.
First time? If
setup_complete: falseabove, run./SETUP.mdfirst, then setsetup_complete: true.
Full Gmail automation via Google Apps Script API: send, read inbox, create drafts, mark as read.
| Action | Description | Required Params | Optional |
|---|---|---|---|
send | Send email | to, subject, body | html, cc, bcc, name |
inbox | Read inbox | - | maxResults, query, hours |
draft | Create draft | to, subject, body | html, replyTo |
markRead | Mark as read | messageId | - |
# Send email
curl -sL "$URL?token=$TOKEN&action=send&[email protected]&subject=Hello&body=Message"
# Get last 10 unread emails from last 6 hours
curl -sL "$URL?token=$TOKEN&action=inbox&maxResults=10&hours=6"
# Search for specific emails
curl -sL "$URL?token=$TOKEN&action=inbox&query=from:[email protected]"
# Create draft
curl -sL "$URL?token=$TOKEN&action=draft&[email protected]&subject=Follow%20Up&body=Draft"
# Mark email as read
curl -sL "$URL?token=$TOKEN&action=markRead&messageId=MESSAGE_ID"
Send:
{
"success": true,
"email": { "to": "[email protected]", "subject": "Hello", "cc": null, "bcc": null }
}
Inbox:
{
"success": true,
"count": 5,
"emails": [
{
"id": "message_id",
"threadId": "thread_id",
"from": "[email protected]",
"subject": "Email Subject",
"date": "2026-01-14T08:30:00Z",
"snippet": "First 200 chars...",
"body": "Full email body",
"isUnread": true,
"labels": ["INBOX", "UNREAD"]
}
]
}
is:unread with time filterhours param defaults to 24Works with other skills:
npx claudepluginhub aviz85/claude-skills-library --plugin ten-by-tenAutomates Gmail via Google Apps Script: send emails with HTML/CC/BCC, read/search inbox with filters, create drafts, mark as read. Useful for email workflows in code.
Reads Gmail inbox and sent emails via Gmail API. Supports custom queries, labels, and full thread analysis. Useful for checking email, verifying sent messages, and morning briefings.
Search, read, send, and draft emails; manage Gmail labels. Standalone OAuth, no MCP server required. Requires Google Workspace account.