Connectors

Connectors bridge external services to the box filesystem. They are configured per-box in _config/connectors/.

Credentials

Credentials do NOT live in this box. They live in one machine-level store outside every box's directory, and this box holds a grant to the ones the boxholder decided it may use. You cannot read that store, add to it, or grant anything — those are the boxholder's decisions, made from the admin page or the bbx secrets CLI. Google services are separate again: shared OAuth tokens plus the box's googleServices policy in _config/box.json.

Rules for handling keys:

gmail

Pulls emails from Gmail via IMAP. Creates thread directories with message cards and body text files.

Produces: email-thread, email-message (via bbx wakeup)

google-drive

Two-way sync with Google Drive. Spreadsheets become .gsheet.card files with JSON tabs; Google Docs become .gdoc.card files with sibling markdown. Push detects conflicts when remote changed since the last pull.

Produces: gsheet, gdoc (via bbx wakeup)