Adds a JSON REST API at /api/v1/ (Bearer token auth via API_KEYS env var)
exposing the full pipeline — email processing, log querying, sender profiles,
purge rules, whitelist, and analysis — for external consumers like OpenClaw.
Adds a /dbusers web UI for generating PostgreSQL roles with read_only,
modify, or full permission levels; credentials shown once and never stored.
Includes Alembic migration 0005 for the db_api_users tracking table and
API.md with full endpoint documentation and integration examples.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>