Open Connector
← 所有 Tools

Gmail logoGmail

Search threads, send emails and drafts, and apply labels and create filters.

gmailvcatalog-v169 个 Tools

认证方式

方式底层类型状态说明
OAuth 2.0oauth2availableAuthorize Gmail with OAuth 2.0. Complete the provider's sign-in or consent flow; requests run with the permissions granted to this connection.

调用示例

import { createClient } from "@open-connector/commercial-sdk";const oc = createClient({  baseUrl: "https://api.openconnector.dev",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await oc.executeTool({  slug: "GMAIL_USERS_DRAFTS_CREATE",  connectedAccountId: "conn_...",  arguments: { /* match this tool's input schema */ },});
import Composio from "@composio/client";const composio = new Composio({  baseURL: "https://api.openconnector.dev/composio",  apiKey: process.env.OPEN_CONNECTOR_API_KEY!,});const result = await composio.tools.execute("GMAIL_USERS_DRAFTS_CREATE", {  connected_account_id: "conn_...",  arguments: { /* match this tool's input schema */ },});
oc tools execute GMAIL_USERS_DRAFTS_CREATE --data '{ }'

Tool 目录

可用 Tools

69 个可调用操作

Gmail Users Drafts CreateGMAIL_USERS_DRAFTS_CREATECreates a draft with the `DRAFT` label. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Creates a draft with the `DRAFT` label. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Drafts DeleteGMAIL_USERS_DRAFTS_DELETEImmediately and permanently deletes the specified draft. Does not simply trash it. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Immediately and permanently deletes the specified draft. Does not simply trash it. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Drafts GetGMAIL_USERS_DRAFTS_GETGets the specified draft. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Gets the specified draft. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Drafts ListGMAIL_USERS_DRAFTS_LISTLists the drafts in the user's mailbox. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Lists the drafts in the user's mailbox. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Drafts SendGMAIL_USERS_DRAFTS_SENDSends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Sends the specified, existing draft to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Drafts UpdateGMAIL_USERS_DRAFTS_UPDATEReplaces a draft's content. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

Replaces a draft's content. For more information, see [Create and send draft emails](https://developers.google.com/workspace/gmail/api/guides/drafts).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users GetProfileGMAIL_USERS_GET_PROFILEGets the current user's Gmail profile.

Gets the current user's Gmail profile.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users History ListGMAIL_USERS_HISTORY_LISTLists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`). For more information, see [Synchronize clients with Gmail](https://developers.google.com/workspace/gmail/api/guides/sync).

Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing `historyId`). For more information, see [Synchronize clients with Gmail](https://developers.google.com/workspace/gmail/api/guides/sync).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Labels CreateGMAIL_USERS_LABELS_CREATECreates a label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Creates a label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Labels DeleteGMAIL_USERS_LABELS_DELETEImmediately and permanently deletes the specified label and removes it from any messages and threads that it's applied to. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Immediately and permanently deletes the specified label and removes it from any messages and threads that it's applied to. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Labels GetGMAIL_USERS_LABELS_GETGets the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Gets the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Labels ListGMAIL_USERS_LABELS_LISTLists all labels in the user's mailbox. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Lists all labels in the user's mailbox. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Labels PatchGMAIL_USERS_LABELS_PATCHPatch the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Patch the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Labels UpdateGMAIL_USERS_LABELS_UPDATEUpdates the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

Updates the specified label. For more information, see [Manage labels](https://developers.google.com/workspace/gmail/api/guides/labels).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.labelshttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages Attachments GetGMAIL_USERS_MESSAGES_ATTACHMENTS_GETGets the specified message attachment.

Gets the specified message attachment.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Messages BatchDeleteGMAIL_USERS_MESSAGES_BATCH_DELETEDeletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.

认证

需要 Connected Account

Scopes

https://mail.google.com/

Tags

users
Gmail Users Messages BatchModifyGMAIL_USERS_MESSAGES_BATCH_MODIFYModifies the labels and the Classification Label values on the specified messages. For administrators modifying messages for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.

Modifies the labels and the Classification Label values on the specified messages. For administrators modifying messages for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages DeleteGMAIL_USERS_MESSAGES_DELETEImmediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead.

Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer `messages.trash` instead.

认证

需要 Connected Account

Scopes

https://mail.google.com/

Tags

users
Gmail Users Messages GetGMAIL_USERS_MESSAGES_GETGets the specified message.

Gets the specified message.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Messages ImportGMAIL_USERS_MESSAGES_IMPORTImports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages, such as those attempting to perform domain spoofing. This method does not send a message. Note that the maximum size of the message is 150 MB.

Imports a message into only this user's mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. This method doesn't perform SPF checks, so it might not work for some spam messages, such as those attempting to perform domain spoofing. This method does not send a message. Note that the maximum size of the message is 150 MB.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.inserthttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages InsertGMAIL_USERS_MESSAGES_INSERTDirectly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification. Does not send a message. For more information, see [Create and send email messages](https://developers.google.com/workspace/gmail/api/guides/sending).

Directly inserts a message into only this user's mailbox similar to `IMAP APPEND`, bypassing most scanning and classification. Does not send a message. For more information, see [Create and send email messages](https://developers.google.com/workspace/gmail/api/guides/sending).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.inserthttps://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages ListGMAIL_USERS_MESSAGES_LISTLists the messages in the user's mailbox. For more information, see [List Gmail messages](https://developers.google.com/workspace/gmail/api/guides/list-messages).

Lists the messages in the user's mailbox. For more information, see [List Gmail messages](https://developers.google.com/workspace/gmail/api/guides/list-messages).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Messages ModifyGMAIL_USERS_MESSAGES_MODIFYModifies the labels and the Classification Label values on the specified message. For administrators modifying message for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.

Modifies the labels and the Classification Label values on the specified message. For administrators modifying message for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.modify.restricted` scope.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages SendGMAIL_USERS_MESSAGES_SENDSends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information, see [Create and send email messages](https://developers.google.com/workspace/gmail/api/guides/sending).

Sends the specified message to the recipients in the `To`, `Cc`, and `Bcc` headers. For more information, see [Create and send email messages](https://developers.google.com/workspace/gmail/api/guides/sending).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.composehttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.send

Tags

users
Gmail Users Messages TrashGMAIL_USERS_MESSAGES_TRASHMoves the specified message to the trash.

Moves the specified message to the trash.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Messages UntrashGMAIL_USERS_MESSAGES_UNTRASHRemoves the specified message from the trash.

Removes the specified message from the trash.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Settings Cse Identities CreateGMAIL_USERS_SETTINGS_CSE_IDENTITIES_CREATECreates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Creates and configures a client-side encryption identity that's authorized to send mail from the user account. Google publishes the S/MIME certificate to a shared domain-wide directory so that people within a Google Workspace organization can encrypt and send mail to the identity. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Identities DeleteGMAIL_USERS_SETTINGS_CSE_IDENTITIES_DELETEDeletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Deletes a client-side encryption identity. The authenticated user can no longer use the identity to send encrypted messages. You cannot restore the identity after you delete it. Instead, use the CreateCseIdentity method to create another identity with the same configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Identities GetGMAIL_USERS_SETTINGS_CSE_IDENTITIES_GETRetrieves a client-side encryption identity configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Retrieves a client-side encryption identity configuration. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Identities ListGMAIL_USERS_SETTINGS_CSE_IDENTITIES_LISTLists the client-side encrypted identities for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Lists the client-side encrypted identities for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Identities PatchGMAIL_USERS_SETTINGS_CSE_IDENTITIES_PATCHAssociates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profiles](https://support.google.com/a/answer/7300887). For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Associates a different key pair with an existing client-side encryption identity. The updated key pair must validate against Google's [S/MIME certificate profiles](https://support.google.com/a/answer/7300887). For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs CreateGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_CREATECreates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Creates and uploads a client-side encryption S/MIME public key certificate chain and private key metadata for the authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs DisableGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_DISABLETurns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair. After 30 days, you can permanently delete the key pair by using the ObliterateCseKeyPair method. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Turns off a client-side encryption key pair. The authenticated user can no longer use the key pair to decrypt incoming CSE message texts or sign outgoing CSE mail. To regain access, use the EnableCseKeyPair to turn on the key pair. After 30 days, you can permanently delete the key pair by using the ObliterateCseKeyPair method. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs EnableGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_ENABLETurns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Turns on a client-side encryption key pair that was turned off. The key pair becomes active again for any associated client-side encryption identities. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs GetGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_GETRetrieves an existing client-side encryption key pair. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Retrieves an existing client-side encryption key pair. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs ListGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_LISTLists client-side encryption key pairs for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Lists client-side encryption key pairs for an authenticated user. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Cse Keypairs ObliterateGMAIL_USERS_SETTINGS_CSE_KEYPAIRS_OBLITERATEDeletes a client-side encryption key pair permanently and immediately. You can only permanently delete key pairs that have been turned off for more than 30 days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't restore or decrypt any messages that were encrypted by an obliterated key. Authenticated users and Google Workspace administrators lose access to reading the encrypted messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

Deletes a client-side encryption key pair permanently and immediately. You can only permanently delete key pairs that have been turned off for more than 30 days. To turn off a key pair, use the DisableCseKeyPair method. Gmail can't restore or decrypt any messages that were encrypted by an obliterated key. Authenticated users and Google Workspace administrators lose access to reading the encrypted messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Filters CreateGMAIL_USERS_SETTINGS_FILTERS_CREATECreates a filter. Note: you can only create a maximum of 1,000 filters. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

Creates a filter. Note: you can only create a maximum of 1,000 filters. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Filters DeleteGMAIL_USERS_SETTINGS_FILTERS_DELETEImmediately and permanently deletes the specified filter. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

Immediately and permanently deletes the specified filter. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Filters GetGMAIL_USERS_SETTINGS_FILTERS_GETGets a filter. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

Gets a filter. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings Filters ListGMAIL_USERS_SETTINGS_FILTERS_LISTLists the message filters of a Gmail user. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

Lists the message filters of a Gmail user. For more information, see [Manage Gmail filters](https://developers.google.com/workspace/gmail/api/guides/filter_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings ForwardingAddresses GetGMAIL_USERS_SETTINGS_FORWARDING_ADDRESSES_GETGets the specified forwarding address. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

Gets the specified forwarding address. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings ForwardingAddresses ListGMAIL_USERS_SETTINGS_FORWARDING_ADDRESSES_LISTLists the forwarding addresses for the specified account. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

Lists the forwarding addresses for the specified account. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings GetAutoForwardingGMAIL_USERS_SETTINGS_GET_AUTO_FORWARDINGGets the auto-forwarding setting for the specified account. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

Gets the auto-forwarding setting for the specified account. For more information, see [Manage email forwarding](https://developers.google.com/workspace/gmail/api/guides/forwarding_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings GetImapGMAIL_USERS_SETTINGS_GET_IMAPGets IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

Gets IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings GetLanguageGMAIL_USERS_SETTINGS_GET_LANGUAGEGets language settings. For more information, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings).

Gets language settings. For more information, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings GetPopGMAIL_USERS_SETTINGS_GET_POPGets POP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

Gets POP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings GetVacationGMAIL_USERS_SETTINGS_GET_VACATIONGets vacation responder settings. For more information, see [Manage vacation settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/vacation_settings).

Gets vacation responder settings. For more information, see [Manage vacation settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/vacation_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs GetGMAIL_USERS_SETTINGS_SEND_AS_GETGets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs ListGMAIL_USERS_SETTINGS_SEND_AS_LISTLists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom "from" aliases. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

Lists the send-as aliases for the specified account. The result includes the primary send-as address associated with the account as well as any custom "from" aliases. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs PatchGMAIL_USERS_SETTINGS_SEND_AS_PATCHPatch the specified send-as alias. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

Patch the specified send-as alias. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs SmimeInfo DeleteGMAIL_USERS_SETTINGS_SEND_AS_SMIME_INFO_DELETEDelete an S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

Delete an S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs SmimeInfo GetGMAIL_USERS_SETTINGS_SEND_AS_SMIME_INFO_GETGets the specified S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/smime_certs).

Gets the specified S/MIME config for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/smime_certs).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs SmimeInfo InsertGMAIL_USERS_SETTINGS_SEND_AS_SMIME_INFO_INSERTUpload an S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

Upload an S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs SmimeInfo ListGMAIL_USERS_SETTINGS_SEND_AS_SMIME_INFO_LISTLists S/MIME configs for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/smime_certs).

Lists S/MIME configs for the specified send-as alias. For more information, see [Manage S/MIME certificates with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/smime_certs).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonlyhttps://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs SmimeInfo SetDefaultGMAIL_USERS_SETTINGS_SEND_AS_SMIME_INFO_SET_DEFAULTSet the default S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

Set the default S/MIME certificate. Standard user OAuth with gmail.settings.basic is documented for primary SendAs S/MIME; custom from aliases are unavailable in this user-OAuth Toolkit.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings SendAs UpdateGMAIL_USERS_SETTINGS_SEND_AS_UPDATEUpdates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings). Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.

Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. For more information, see [Manage aliases and signatures with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/alias_and_signature_settings). Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings UpdateImapGMAIL_USERS_SETTINGS_UPDATE_IMAPUpdates IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

Updates IMAP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings UpdateLanguageGMAIL_USERS_SETTINGS_UPDATE_LANGUAGEUpdates language settings. For more information, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings). If successful, the return object contains the `displayLanguage` that was saved for the user, which may differ from the value passed into the request. This is because the requested `displayLanguage` may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.

Updates language settings. For more information, see [Manage language settings](https://developers.google.com/workspace/gmail/api/guides/language-settings). If successful, the return object contains the `displayLanguage` that was saved for the user, which may differ from the value passed into the request. This is because the requested `displayLanguage` may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead.

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings UpdatePopGMAIL_USERS_SETTINGS_UPDATE_POPUpdates POP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

Updates POP settings. For more information, see [Configure POP and IMAP settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/pop_imap_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users Settings UpdateVacationGMAIL_USERS_SETTINGS_UPDATE_VACATIONUpdates vacation responder settings. For more information, see [Manage vacation settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/vacation_settings).

Updates vacation responder settings. For more information, see [Manage vacation settings with the Gmail API](https://developers.google.com/workspace/gmail/api/guides/vacation_settings).

认证

需要 Connected Account

Scopes

https://www.googleapis.com/auth/gmail.settings.basic

Tags

users
Gmail Users StopGMAIL_USERS_STOPTurn off push notification delivery for the given user mailbox. For more information, see [Configure push notifications in Gmail API](https://developers.google.com/workspace/gmail/api/guides/push).

Turn off push notification delivery for the given user mailbox. For more information, see [Configure push notifications in Gmail API](https://developers.google.com/workspace/gmail/api/guides/push).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Threads DeleteGMAIL_USERS_THREADS_DELETEImmediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer `threads.trash` instead. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer `threads.trash` instead. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/

Tags

users
Gmail Users Threads GetGMAIL_USERS_THREADS_GETGets the specified thread. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Gets the specified thread. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Threads ListGMAIL_USERS_THREADS_LISTLists the threads in the user's mailbox. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Lists the threads in the user's mailbox. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users
Gmail Users Threads ModifyGMAIL_USERS_THREADS_MODIFYModifies the labels applied to the thread. This applies to all messages in the thread. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Modifies the labels applied to the thread. This applies to all messages in the thread. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Threads TrashGMAIL_USERS_THREADS_TRASHMoves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users Threads UntrashGMAIL_USERS_THREADS_UNTRASHRemoves the specified thread from the trash. Any messages that belong to the thread are also removed from the trash. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

Removes the specified thread from the trash. Any messages that belong to the thread are also removed from the trash. For more information, see [Manage threads](https://developers.google.com/workspace/gmail/api/guides/threads).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.modify

Tags

users
Gmail Users WatchGMAIL_USERS_WATCHSet up or update a push notification watch on the given user mailbox. For more information, see [Configure push notifications in Gmail API](https://developers.google.com/workspace/gmail/api/guides/push).

Set up or update a push notification watch on the given user mailbox. For more information, see [Configure push notifications in Gmail API](https://developers.google.com/workspace/gmail/api/guides/push).

认证

需要 Connected Account

Scopes

https://mail.google.com/https://www.googleapis.com/auth/gmail.metadatahttps://www.googleapis.com/auth/gmail.modifyhttps://www.googleapis.com/auth/gmail.readonly

Tags

users

Provider 资源