?
listGmailLabels
List all labels in the connected Gmail account. Use these label IDs or names with the Update Gmail Labels step.
mindstudio.listGmailLabels(input) → Result
List all labels in the connected Gmail account. Use these label IDs or names with the Update Gmail Labels step.
Parameters
connectionId
string
Google OAuth connection ID
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.listGmailLabels({});