@tank/gmail

Send, read, search, and manage Gmail emails via the Gmail API.

1|1|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/tankpkg/skills --skill tank-gmail
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: @tank/gmail
Source: https://github.com/tankpkg/skills/tree/main/skills/gmail
Command: npx skills add https://github.com/tankpkg/skills --skill tank-gmail

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill empowers AI agents to programmatically manage emails, streamlining communication and automating workflows directly within Gmail.

Core Features & Use Cases

  • Send, Read, and Search: Compose, send, retrieve, and search emails using powerful Gmail search operators.
  • Organize and Manage: Apply labels, create filters, manage drafts, and archive/trash messages.
  • Use Case: Automatically process incoming support requests by searching for emails from a specific sender, applying a 'support' label, and forwarding critical messages to a team alias.

Quick Start

Use the gmail skill to send an email with the subject 'Project Update' to '[email protected]' with plain text content.

Frequently Asked Questions about @tank/gmail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate email management with the Gmail API?

You can automate email management with the Gmail API by using AI agents to send, read, search, label, and filter messages programmatically. This supports comprehensive inbox workflows, including draft management and thread-aware replies.

What do I need to authenticate AI agents for Gmail API access?

To authenticate AI agents for Gmail API access, you need Google OAuth 2.0 with appropriate scopes configured. This grants either modification or read-only access depending on the permissions you set.

Can I use Gmail search operators to filter emails programmatically?

Yes, you can use Gmail search operators to filter emails programmatically. The API supports retrieving and searching messages using powerful operators to target specific senders, subjects, or content.

How do I handle email attachments and thread-aware replies via the Gmail API?

Handling email attachments and thread-aware replies via the Gmail API is supported natively. AI agents can process attachments and maintain conversation context by replying within existing message threads.

What is the best way to organize incoming support requests in Gmail?

The best way to organize incoming support requests in Gmail is by searching for specific sender criteria, applying custom labels like 'support', and archiving or forwarding critical messages to automate ticket routing.