# Priority Management
Priority 1=tag:priority1 and tag:inbox
Priority 2=tag:priority2 and tag:inbox
All Priority=tag:priority1 or tag:priority2

# Main Views
Inbox=tag:inbox
Unread=tag:unread
Starred=tag:flagged or tag:starred
Archive=not tag:inbox and not tag:spam and not tag:deleted
Sent=folder:Sent or tag:sent
Drafts=folder:Drafts or tag:draft
Spam=tag:spam or folder:Spam
Trash=tag:deleted or folder:Trash

# Categories
# Work=tag:work and tag:inbox
# Personal=tag:personal and tag:inbox
Finance=tag:finance and tag:inbox
# Social=tag:social and tag:inbox
# Mailing Lists=tag:mailinglist and tag:inbox
Newsletters=tag:newsletter and tag:inbox
# Automated=tag:automated

# Time-based
Today=date:today and tag:inbox
This Week=date:week and tag:inbox
This Month=date:month and tag:inbox
Last 7 Days=date:7days..today

# Special Queries
Needs Reply=tag:inbox and not tag:replied
Attachments=tag:attachment and tag:inbox
Important=tag:flagged or tag:priority1
Action Required=tag:todo or tag:followup

# Unprocessed
New Mail=tag:new
Untagged=tag:inbox and not tag:priority1 and not tag:priority2 and not tag:work and not tag:personal and not tag:finance

# All Mail
Everything=*
