{
  "service": "cloudshuttle-email-relay",
  "version": "0.1.0",
  "environment": "production",
  "status": "ok",
  "timestamp": "2026-06-09T13:53:30.670Z",
  "isolation": {
    "inboundEnabled": true,
    "d1Marketing": "bound",
    "d1Inbox": "bound",
    "zitadelWebhook": "https://relay.cloudshuttle.com.au/zitadel/email"
  },
  "endpoints": {
    "relay": "POST / — send transactional/marketing emails (relay JSON + auth)",
    "zitadel": "POST /zitadel/email — Zitadel HTTP email provider webhook",
    "health": "GET /health",
    "tracking": "GET /track/open/{id}, /track/click/{id}/{linkId}, /track/unsubscribe/{id} (marketing)",
    "inbox": "GET /inbox — recent | /inbox/{id} | /inbox/thread/{threadId} | POST /inbox/reply (requires EMAILS_DB + inbound)"
  },
  "supportedSources": [
    "zitadel",
    "drover",
    "dataengbytes",
    "marketing",
    "internal"
  ]
}