gmail-multi-inbox

Generate Google Apps Script to create Gmail labels and filters for inbox sections.

4|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/apocohq/skills --skill gmail-multi-inbox
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail-multi-inbox
Source: https://github.com/apocohq/skills/tree/main/skills/gmail-multi-inbox
Command: npx skills add https://github.com/apocohq/skills --skill gmail-multi-inbox

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Gmail users spend time organizing incoming mail into custom sections and maintaining filters across changing senders. This skill scans the user's Gmail to discover senders, suggests inbox categories, and generates a Google Apps Script that creates labels and filters. It also enables updating senders and categories over time. Trigger phrases: "Gmail sections", "inbox categories", "email organization", "sender filters", "multiple inboxes", "clean up my inbox".

Core Features & Use Cases

  • Auto-discovery of senders and grouping into up to 5 sections using label-based filters.
  • Idempotent script that can be re-run to add or remove senders and update labels without duplicating rules.
  • Retro-labeling to tag existing messages and maintain consistency across your archive.

Quick Start

Paste the generated Apps Script into Google Apps Script editor, authorize Gmail access, and run setupAll() to create labels, filters, and retro-labeling, then configure Gmail's Multiple Inboxes with the shown sections.

Frequently Asked Questions about gmail-multi-inbox

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

FAQPage Schema
How do I automate Gmail inbox organization with multiple inboxes?

You automate Gmail inbox organization by generating a Google Apps Script that creates labels and filters to route mail from discovered senders into dedicated sections. This workflow configures Multiple Inboxes to group emails into up to five category views.

Can I create Gmail filters automatically based on past senders?

Yes, you can create Gmail filters automatically based on past senders. The skill scans your inbox to discover senders, suggests categories, and generates an Apps Script that retroactively labels existing messages while applying filters to future incoming mail.

What's the best way to set up label-based sections in Gmail without duplicating rules?

The best way to set up label-based sections without duplicating rules is using an idempotent Google Apps Script. You can safely re-run the generated script to add or remove senders and update labels without creating duplicate filter rules.

How do I manage multiple Gmail inboxes for a team using labels?

You manage team Gmail inboxes by applying this label-based filter workflow to shared accounts. The generated Google Apps Script categorizes discovered senders into sections, enabling consistent routing and retroactive labeling across team inboxes.

Do I need a Gmail MCP connector to organize inbox categories?

You need either a Gmail MCP connector or manual input to organize inbox categories. The skill uses this access to discover senders and generate a Google Apps Script that creates the necessary labels, filters, and retroactive tagging.

Why are my Gmail multiple inboxes not showing new senders automatically?

Gmail multiple inboxes may not show new senders automatically because the initial script only covers senders discovered at generation time. You must re-run the idempotent setup script to discover new senders, update categories, and apply retroactive labeling.