# Corky unified configuration.
# Copy to .corky.toml and fill in your details.
# See README.md for full documentation.

[owner]
github_user = "your-github-username"       # Required for mailbox features
name = "Your Name"                         # Display name used in shared repo templates

[accounts.personal]
provider = "gmail"                          # gmail | protonmail-bridge | imap
user = "you@gmail.com"
password_cmd = "pass email/personal"        # or: password = "inline-secret"
labels = ["correspondence"]
default = true

# [accounts.proton]
# provider = "protonmail-bridge"
# user = "you@proton.me"
# password_cmd = "pass email/proton"
# labels = ["private"]

# [accounts.selfhosted]
# provider = "imap"                         # generic — all fields required
# imap_host = "mail.example.com"
# smtp_host = "mail.example.com"
# drafts_folder = "Drafts"
# user = "user@example.com"
# password_cmd = "pass email/selfhosted"
# labels = ["important"]

# Contact metadata — maps names to email addresses for manifest tagging.
# shared_with syncs the contact CLAUDE.md to those mailboxes (even without conversation match).
# aliases match sender names that don't slugify to the directory name.
# [contacts.alex]
# emails = ["alex@example.com", "alex@work.com"]
# shared_with = ["work"]
# aliases = ["Alex Smith via LinkedIn"]

# Label routing: map labels to mailbox directories.
# Each label can fan out to multiple mailboxes.
# Use "account:label" syntax to scope a label to one account.
# [routing]
# for-alex = ["mailboxes/alex"]
# "proton:INBOX" = ["mailboxes/proton-inbox"]
# shared-label = ["mailboxes/alice", "mailboxes/bob"]

# Mailbox configuration.
# [mailboxes.alex]
# auto_send = false                         # auto-send approved drafts (default: false)

# [watch]
# poll_interval = 300                       # seconds between polls (default: 300)
# notify = true                             # desktop alerts on new messages (default: false)
