Skip to main content
const client = naive.forUser(alice.id);

await client.connections.list({ search: "gmail" });
await client.connections.connected();                 // local mirror status
const { redirectUrl } = await client.connections.connect("gmail", { callbackUrl });
await client.connections.disconnect("gmail", { purge: false });
await client.connections.tools("gmail");
await client.connections.execute("gmail", "GMAIL_SEND_EMAIL", { recipient_email: "..." });
All calls are filtered by the user’s AccountKit. See Connections.