Connection Selector for Gateway Requests

We can list connections from https://ctrl.maton.ai/connections, but gateway requests to https://gateway.maton.ai/google-mail/… and /outlook/… always resolve to default accounts even when passing x-maton-connection-id (and query variants).
Please provide the exact supported connection selector for gateway requests, or enable per-connection API keys/scoped tokens for this workspace.

Found the answer: The header is Maton-Connection — not x-maton-connection-id or any of the other variants we tried. To specify which connection to LobeHub use, pass Maton-Connection: {connection_id} as a header. If omitted, the gateway uses the default (oldest) active connection — which is why it kept returning the same account’s emails every time.

Ah sorry I missed this one, great to hear that you resolved the issue