gmail-bootstrap

Generate Gmail rules from inbox history and save gmail-rules.md.

16|9|Updated Apr 4, 2026
One-click install
npx skills add https://github.com/sonthanh/brain-os-plugin --skill gmail-bootstrap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail-bootstrap
Source: https://github.com/sonthanh/brain-os-plugin/tree/main/skills/gmail-bootstrap
Command: npx skills add https://github.com/sonthanh/brain-os-plugin --skill gmail-bootstrap

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @googleapis/gmail, and includes scripts (resource) components.

What problem does it solve?

Scans your Gmail inbox history to learn patterns and generate actionable rules for automatic triage and organization.

Core Features & Use Cases

  • Scans last 3 months of inbox and sent messages to categorize senders by engagement (replied, starred, read/unread).
  • Generates a centralized Gmail rules file at vault/business/intelligence/gmail-rules.md with sections Always Important, Important, Informational, Auto-delete, and Custom Rules.
  • Preserves any existing custom rules in the generated file to avoid overwriting user customization.

Quick Start

Run the Gmail bootstrap to generate rules from your inbox history and view the resulting gmail-rules.md in the vault.

Frequently Asked Questions about gmail-bootstrap

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

FAQPage Schema
How do I automatically create Gmail rules from my inbox history?

Gmail bootstrap automatically generates Gmail rules by scanning 3 months of inbox and sent messages to identify sender patterns and engagement signals, then saves a structured gmail-rules.md file in your vault.

Do I need OAuth credentials to automate Gmail triage and rule generation?

Yes, OAuth credentials are required for Gmail API access to scan inbox history and generate the categorized rules file for automatic email triage and organization.

How does Gmail bootstrap handle existing custom rules when refreshing the rules file?

Gmail bootstrap preserves existing custom rules during the generation process to avoid overwriting user customization, appending new suggestions while retaining your manual configurations.

What categories does the generated Gmail rules file include for email management?

The generated gmail-rules.md file includes sections for Always Important, Important, Informational, Auto-delete, and Custom Rules to organize email triage based on sender patterns.

Can I use Gmail bootstrap for onboarding and periodic refresh of email automation rules?

Yes, Gmail bootstrap supports both onboarding and refresh workflows, allowing you to regularly update rules as your email behavior and sender engagement patterns change over time.

How does Gmail bootstrap categorize senders for automated email triage?

Gmail bootstrap categorizes senders by analyzing engagement signals from your inbox history, including whether messages were replied to, starred, or left read or unread over the past 3 months.