68 lines
2.0 KiB
Markdown
68 lines
2.0 KiB
Markdown
# Gmail Organizer — dvish92
|
|
|
|
Second instance of the Gmail auto-organizer for your-email@example.com.
|
|
|
|
## Overview
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| **Email** | your-email@example.com |
|
|
| **Script Directory** | `scripts/gmail-organizer-dvish` |
|
|
| **LLM Backend** | Ollama (qwen3-coder) on Olares |
|
|
| **Schedule** | Every 30 minutes via cron |
|
|
| **Log** | `/tmp/gmail-organizer-dvish.log` |
|
|
| **First instance** | See `gmail-organizer.md` (lzbellina92@gmail.com) |
|
|
|
|
## Categories
|
|
|
|
| Category | Gmail Label | Auto-Archive | Description |
|
|
|----------|-------------|:------------:|-------------|
|
|
| **receipts** | AutoOrg/Receipts | No | Purchases, invoices, delivery notifications |
|
|
| **newsletters** | AutoOrg/Newsletters | Yes | LinkedIn, Facebook, mailing lists, promos |
|
|
| **finance** | AutoOrg/Finance | No | Insurance, tax (TurboTax), bank (Schwab), billing |
|
|
| **accounts** | AutoOrg/Accounts | Yes | 2FA codes, password resets, service notifications |
|
|
| **spam** | AutoOrg/Spam | Yes | Junk that bypassed Gmail filters |
|
|
| **personal** | AutoOrg/Personal | No | Friends, family |
|
|
|
|
## Existing Gmail Filters
|
|
|
|
dvish92 has pre-existing Gmail filters that route emails to these labels (separate from AutoOrg):
|
|
Amazon, Business, Contabo, GH (GitHub), Netdata, dad, debts, hawaiianlily, mortgage, workstuff, Saved/Shopping.
|
|
|
|
The organizer only processes unfiltered emails that land in the inbox.
|
|
|
|
## Control Script
|
|
|
|
Pause/resume **both** email organizers (frees up the LLM):
|
|
|
|
```bash
|
|
# Pause both organizers
|
|
scripts/gmail-organizer-ctl.sh stop
|
|
|
|
# Resume both
|
|
scripts/gmail-organizer-ctl.sh start
|
|
|
|
# Check status
|
|
scripts/gmail-organizer-ctl.sh status
|
|
```
|
|
|
|
## Manual Operations
|
|
|
|
```bash
|
|
cd ~/organized/repos/homelab/scripts/gmail-organizer-dvish
|
|
|
|
# Dry run (preview only)
|
|
python3 gmail_organizer.py --dry-run --limit 10 -v
|
|
|
|
# Process inbox
|
|
python3 gmail_organizer.py -v
|
|
|
|
# Reprocess all (after changing categories)
|
|
python3 gmail_organizer.py --reprocess --limit 1000
|
|
|
|
# Check log
|
|
tail -f /tmp/gmail-organizer-dvish.log
|
|
```
|
|
|
|
## Established 2026-03-23
|