askill
gmail-skill

gmail-skillSafety --Repository

Send, search, and read Gmail emails. Supports composing emails with attachments, searching by query, and reading email content.

13 stars
1.2k downloads
Updated 2/28/2026

Package Files

Loading files...
SKILL.md

Gmail Skill

Send, search, and read emails using Gmail API.

Tool: google_gmail

Consolidated Gmail tool with operation parameter.

Operations

OperationDescriptionRequired Fields
sendSend an emailto, subject, body
searchSearch emails by queryquery
readRead email by IDmessage_id

send - Send an email

FieldTypeRequiredDescription
operationstringYesMust be "send"
tostringYesRecipient email address
subjectstringYesEmail subject line
bodystringYesEmail body (plain text or HTML)
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)
body_typestringNo"text" or "html" (default: text)

Example - Send plain text email:

{
  "operation": "send",
  "to": "recipient@example.com",
  "subject": "Meeting Tomorrow",
  "body": "Hi,\n\nJust a reminder about our meeting tomorrow at 2pm.\n\nBest regards"
}

Example - Send HTML email:

{
  "operation": "send",
  "to": "recipient@example.com",
  "subject": "Weekly Report",
  "body": "<h1>Weekly Report</h1><p>Here are the highlights...</p>",
  "body_type": "html"
}

search - Search emails

FieldTypeRequiredDescription
operationstringYesMust be "search"
querystringYesGmail search query
max_resultsintegerNoMaximum results (default: 10, max: 100)
include_bodybooleanNoFetch full message body (default: false)

Query Syntax Examples:

  • from:sender@example.com - Emails from specific sender
  • to:recipient@example.com - Emails to specific recipient
  • subject:meeting - Emails with "meeting" in subject
  • has:attachment - Emails with attachments
  • is:unread - Unread emails
  • after:2024/01/01 - Emails after date
  • before:2024/12/31 - Emails before date
  • label:important - Emails with label
  • "exact phrase" - Exact phrase match
  • from:boss@company.com is:unread - Combine multiple filters

Example:

{
  "operation": "search",
  "query": "from:client@example.com has:attachment after:2024/01/01",
  "max_results": 20
}

read - Read email content

FieldTypeRequiredDescription
operationstringYesMust be "read"
message_idstringYesGmail message ID from search results
formatstringNo"full", "minimal", "raw", "metadata" (default: full)

Example:

{
  "operation": "read",
  "message_id": "abc123"
}

Common Workflows

  1. Check unread emails: Search with is:unread, then read important ones
  2. Find emails from someone: Search with from:email@example.com
  3. Reply to email: Read the email first, then send with same subject prefixed with "Re:"
  4. Forward email: Read email, send to new recipient with "Fwd:" prefix

Setup Requirements

  1. Connect Gmail node to AI Agent's input-tools handle
  2. Authenticate with Google Workspace in Credentials Modal
  3. Ensure Gmail API scopes are authorized

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/28/2026
Publishertrohitg

Tags

api