Gmail操作

Automate Gmail searches, spam management, and batch archiving via Ruby scripts.

3|Updated Jan 19, 2013
One-click install
npx skills add https://github.com/shifumin/dotfiles --skill gmail-shifumin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Gmail操作
Source: https://github.com/shifumin/dotfiles/tree/main/dot_claude/skills/gmail
Command: npx skills add https://github.com/shifumin/dotfiles --skill gmail-shifumin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the tedious tasks of searching, retrieving, managing spam, and organizing emails within your Gmail account, saving you significant time and effort.

Core Features & Use Cases

  • Email Search: Find specific emails using natural language queries that are translated into Gmail search operators.
  • Email Retrieval: Fetch detailed information or the full content of specific emails.
  • Spam Management: Automatically identify and move spam emails to the trash.
  • Batch Operations: Organize and archive emails in bulk, such as clearing the Social tab.
  • Use Case: "Find all emails from '[email protected]' received this month, and if they are marked as spam, move them to the trash."

Quick Start

Use the Gmail skill to search for emails from '[email protected]' with the subject 'Weekly Update'.

Frequently Asked Questions about Gmail操作

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

FAQPage Schema
How do I automate Gmail email management and spam organization?

Automating Gmail email management involves translating natural language queries into Gmail API calls to search emails, fetch details, move spam to trash, and batch archive messages by category. This requires OAuth authentication for read and modify scopes.

How do I search Gmail emails using natural language queries?

Searching Gmail emails with natural language queries works by translating the user's request into Gmail search operators. These translated queries are executed via Ruby scripts using the Gmail API to find specific emails.

Do I need Ruby to run Gmail automation scripts?

Yes, Ruby is required to run the Gmail automation scripts. The Skill translates user requests into Gmail API calls that are executed through Ruby scripts to perform actions like searching and batch archiving emails.

Can I batch archive emails from specific Gmail categories like Social?

Batch archiving emails from specific Gmail categories like Social is supported. The automation processes category-specific messages in bulk, allowing you to organize and clear entire tabs efficiently using the Gmail API.

What is the best way to manage Gmail spam automatically?

The best way to manage Gmail spam automatically is by using API scripts to identify spam emails and move them to the trash. This automation handles spam messages systematically without manual sorting.