gmail property
Implementation
static final gmail = Connector(
name: "Gmail",
server: MCPServer(serverLabel: "Gmail", openaiConnectorId: "connector_gmail"),
oauth: OAuthClientConfig(
clientId: const String.fromEnvironment("GOOGLE_CONNECTOR_OAUTH_CLIENT_ID"),
authorizationEndpoint: "https://accounts.google.com/o/oauth2/v2/auth",
tokenEndpoint: "https://oauth2.googleapis.com/token",
noPkce: false,
scopes: [
"https://www.googleapis.com/auth/gmail.modify",
"https://www.googleapis.com/auth/userinfo.email",
"https://www.googleapis.com/auth/userinfo.profile",
],
),
);