gmail

Read, send, and manage Gmail emails, threads, labels, and drafts via Gmail API

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" with this command: npx skills add terrycarter1985/tc-gmail

Gmail Skill

Overview

Integrate with Gmail to send/receive emails, manage threads and labels, and work with drafts. Uses official Gmail API with OAuth 2.0 authentication.

Configuration

Set these environment variables:

VariableDescription
GMAIL_CLIENT_IDGoogle Cloud OAuth client ID
GMAIL_CLIENT_SECRETGoogle Cloud OAuth client secret
GMAIL_REFRESH_TOKENOAuth refresh token for your Gmail account

Usage Examples

Send an email

{
  "tool": "gmail_send",
  "parameters": {
    "to": "recipient@example.com",
    "subject": "Meeting Reminder",
    "body": "Hi there,\n\nJust a reminder about our meeting tomorrow at 10 AM.\n\nBest regards,\nYour AI Assistant",
    "cc": ["cc@example.com"],
    "attachments": ["/workspace/documents/agenda.pdf"]
  }
}

Search for emails

{
  "tool": "gmail_search",
  "parameters": {
    "query": "is:unread subject:invoice after:2026-03-01",
    "max_results": 10,
    "include_body": false
  }
}

Get email details

{
  "tool": "gmail_get_message",
  "parameters": {
    "message_id": "msg_1234567890abcdef",
    "format": "full"
  }
}

List labels

{
  "tool": "gmail_list_labels"
}

Modify message labels

{
  "tool": "gmail_modify_labels",
  "parameters": {
    "message_id": "msg_1234567890abcdef",
    "add_labels": ["STARRED"],
    "remove_labels": ["UNREAD"]
  }
}

Query Operators

Use these in the search query:

  • is:unread - Unread messages
  • is:starred - Starred messages
  • from:sender@example.com - From specific sender
  • to:recipient@example.com - To specific recipient
  • subject:keyword - Subject contains keyword
  • after:2026/01/01 - Messages after date
  • before:2026/12/31 - Messages before date
  • has:attachment - Messages with attachments

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.

Coding

gmail

No summary provided by upstream source.

Repository SourceNeeds Review
General

Camsnap

Take webcam snapshots with path validation, safe resource handling, and flexible output options.

Registry SourceRecently Updated
General

Minutes Sync

Generate structured meeting minutes with Feishu sync. Use when taking meeting notes, writing 会议纪要, summarizing discussions, tracking action items, or when a...

Registry SourceRecently Updated
General

Meeting Minutes CN

Generate structured meeting minutes from templates, sync to Feishu, and track action items. Use when the user asks to create meeting notes (会议纪要/会议记录), summa...

Registry SourceRecently Updated