Overview
Inbox chaos from undifferentiated emails drains time and focus. This workflow automates email triage using the Eisenhower Matrix, labeling messages by urgency and importance. It archives low-priority emails and clears irrelevant labels, cutting noise and accelerating your response to what truly matters.
The Impact
- Cut Inbox Noise. Auto-archive "Not Urgent + Not Important" emails to keep your inbox clean.
- Flag Critical Emails. Apply precise labels to highlight urgent and important messages instantly.
- Speed Decision-Making. Prioritize emails based on business impact and deadlines without manual sorting.
- Streamline Workflow. Remove outdated labels during archiving to maintain label hygiene.
Who This Is For
- Product Managers who need to quickly identify high-impact emails and never miss critical issues.
- Customer Support Teams sorting tickets by urgency to address pressing customer problems first.
- Executive Assistants organizing executive inboxes by decision priority and archiving noise.
- Business Professionals overwhelmed by email volume seeking automated prioritization.
How It Works
- Label Mapping
- Fetch existing Gmail labels and map the four Eisenhower categories to label IDs, using user input as fallback.
- Email Retrieval
- Pull emails matching the user-defined query and limit to MaxResults for processing.
- Email Detail Extraction
- Loop through emails to extract message IDs and fetch detailed content including body and metadata.
- Priority Classification
- Use a large language model to classify each email into one of four priority categories based on urgency and importance rules.
- Label Application and Archiving
- Apply corresponding labels to emails; archive and remove specified labels from "Not Urgent + Not Important" emails.
What You'll Need
Before using this template, make sure you have:
- Gmail OAuth credentials configured for API access.
- Valid Gmail label IDs for the four priority categories (optional if labels exist with standard names).
- List of Gmail label IDs to remove during archiving (e.g., INBOX label ID).
- A Gmail search query to define which emails to process (e.g., "in:inbox is:unread").
How to Use
- Step 1. Configure Credentials
- Step 2. Set Parameters
- Step 3. Run the Workflow
- Step 4. Monitor Progress
- Step 5. Verify Results
Set up Gmail OAuth credentials in the tool to enable API calls.
Define the Gmail search query, max emails to process, and optionally specify label IDs for each priority category and archive label removals.
Trigger the workflow to fetch, classify, label, and archive emails automatically.
Watch the workflow loop through emails, apply labels, and archive low-priority messages.
Check your Gmail inbox and labels to confirm emails are correctly classified and archived as expected.