Rules

Per-account rules that define default behaviors, tones, and delegation patterns.

Rule Structure

{
"account_id": "uuid-of-account",
"account_email": "[email protected]",
"default_tone": "professional but warm",
"signature_style": "Best,\nStuart",
"auto_labels": ["needs-review", "follow-up"],
"priority_domains": ["bigclient.com", "partner.org"],
"delegate_to": "[email protected]",
"notes": "Main business account. Always CC support for technical issues."
}

Field Reference

FieldDescription
account_idUUID of the account (primary key)
account_emailAccount email address for reference
account_labelFriendly name (e.g., "Work", "Personal")
default_toneDefault communication style: casual, professional, formal
signature_styleHow to sign off emails
priority_domainsDomains that get high priority (array)
priority_sendersSpecific emails that get high priority (array)
delegate_toDefault email address to CC for delegation
delegation_rulesWhen to delegate (array of match/delegate_to/reason)
auto_archive_patternsPatterns to auto-archive (array)
response_time_targetExpected response time: immediate, same_day, 24h, 48h, relaxed
notesContext about this account's purpose

Example Configurations

Business Account

{
"account_id": "work-uuid",
"account_email": "[email protected]",
"default_tone": "professional, warm but not overly casual",
"signature_style": "Best,\nStuart Lansdale\nCEO, Company Inc",
"auto_labels": ["work"],
"priority_domains": ["enterprise-client.com"],
"delegate_to": "[email protected]"
}

Personal Account

{
"account_id": "personal-uuid",
"account_email": "[email protected]",
"default_tone": "casual, friendly",
"signature_style": "Cheers,\nStuart",
"priority_domains": []
}

Priority Domains

Emails from priority domains are flagged for immediate attention:

  • AI won't auto-archive them
  • They're highlighted in inbox summaries
  • Always ask before responding (even in Phase 3)

File Location

~/.config/pontius/knowledge/rules/accounts.json