Users
3The mailbox itself: profile, push notifications
getProfileGET /profile · 1 ustopPOST /stop · 50 uwatchPOST /watch · body: WatchRequest · 100 uMessages
11The unit of mail; a message is immutable once written
messages.batchDeletePOST /messages/batchDelete · body: BatchDeleteMessagesRequest · 50 umessages.batchModifyPOST /messages/batchModify · body: BatchModifyMessagesRequest · 50 umessages.deleteDELETE /messages/{id} · id* · 10 umessages.getGET /messages/{id} · id*, format=full, metadataHeaders · 20 umessages.importPOST /messages/import · internalDateSource=dateHeader, neverMarkSpam=false, processForCalendar=false, deleted=false · body: Message · 25 umessages.insertPOST /messages · internalDateSource=receivedTime, deleted=false · body: Message · 25 umessages.listGET /messages · pageToken, maxResults=100, labelIds, includeSpamTrash=false, q · 5 umessages.modifyPOST /messages/{id}/modify · id* · body: ModifyMessageRequest · 5 umessages.sendPOST /messages/send · body: Message · 100 umessages.trashPOST /messages/{id}/trash · id* · 20 umessages.untrashPOST /messages/{id}/untrash · id* · 5 uAttachments
1Bodies too large to inline arrive by attachmentId
messages.attachments.getGET /messages/{messageId}/attachments/{id} · messageId*, id* · 20 uThreads
6A conversation; modify/trash apply to every message in it
threads.deleteDELETE /threads/{id} · id* · 20 uthreads.getGET /threads/{id} · id*, format=full, metadataHeaders · 40 uthreads.listGET /threads · includeSpamTrash=false, q, pageToken, labelIds, maxResults=100 · 10 uthreads.modifyPOST /threads/{id}/modify · id* · body: ModifyThreadRequest · 10 uthreads.trashPOST /threads/{id}/trash · id* · 20 uthreads.untrashPOST /threads/{id}/untrash · id* · 10 uDrafts
6Unsent messages; drafts.send delivers one
drafts.createPOST /drafts · body: Draft · 10 udrafts.deleteDELETE /drafts/{id} · id* · 10 udrafts.getGET /drafts/{id} · id*, format=full · 20 udrafts.listGET /drafts · includeSpamTrash=false, q, pageToken, maxResults=100 · 5 udrafts.sendPOST /drafts/send · body: Draft · 100 udrafts.updatePUT /drafts/{id} · id* · body: Draft · 15 uLabels
6System labels (INBOX, UNREAD, …) and user labels
labels.createPOST /labels · body: Label · 5 ulabels.deleteDELETE /labels/{id} · id* · 5 ulabels.getGET /labels/{id} · id* · 1 ulabels.listGET /labels · 1 ulabels.patchPATCH /labels/{id} · id* · body: Label · 5 ulabels.updatePUT /labels/{id} · id* · body: Label · 5 uHistory
1The change log that makes incremental sync possible
history.listGET /history · labelId, startHistoryId, pageToken, historyTypes, maxResults=100 · 2 uSettings
10Per-mailbox settings: IMAP, POP, vacation, language, forwarding
settings.getAutoForwardingGET /settings/autoForwarding · 1 usettings.getImapGET /settings/imap · 1 usettings.getLanguageGET /settings/language · 1 usettings.getPopGET /settings/pop · 1 usettings.getVacationGET /settings/vacation · 1 usettings.updateAutoForwardingPUT /settings/autoForwarding · body: AutoForwarding · 5 usettings.updateImapPUT /settings/imap · body: ImapSettings · 5 usettings.updateLanguagePUT /settings/language · body: LanguageSettings · 5 usettings.updatePopPUT /settings/pop · body: PopSettings · 100 usettings.updateVacationPUT /settings/vacation · body: VacationSettings · 5 uSettings · sendAs
7Send-as aliases and their signatures
settings.sendAs.createPOST /settings/sendAs · body: SendAs · 100 usettings.sendAs.deleteDELETE /settings/sendAs/{sendAsEmail} · sendAsEmail* · 5 usettings.sendAs.getGET /settings/sendAs/{sendAsEmail} · sendAsEmail* · 1 usettings.sendAs.listGET /settings/sendAs · 1 usettings.sendAs.patchPATCH /settings/sendAs/{sendAsEmail} · sendAsEmail* · body: SendAs · 100 usettings.sendAs.updatePUT /settings/sendAs/{sendAsEmail} · sendAsEmail* · body: SendAs · 100 usettings.sendAs.verifyPOST /settings/sendAs/{sendAsEmail}/verify · sendAsEmail* · 100 uSettings · S/MIME
5S/MIME certificates on a send-as alias
settings.sendAs.smimeInfo.deleteDELETE /settings/sendAs/{sendAsEmail}/smimeInfo/{id} · sendAsEmail*, id*settings.sendAs.smimeInfo.getGET /settings/sendAs/{sendAsEmail}/smimeInfo/{id} · sendAsEmail*, id*settings.sendAs.smimeInfo.insertPOST /settings/sendAs/{sendAsEmail}/smimeInfo · sendAsEmail* · body: SmimeInfosettings.sendAs.smimeInfo.listGET /settings/sendAs/{sendAsEmail}/smimeInfo · sendAsEmail*settings.sendAs.smimeInfo.setDefaultPOST /settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault · sendAsEmail*, id*Settings · filters
4Server-side filters: criteria + action
settings.filters.createPOST /settings/filters · body: Filter · 5 usettings.filters.deleteDELETE /settings/filters/{id} · id* · 5 usettings.filters.getGET /settings/filters/{id} · id* · 1 usettings.filters.listGET /settings/filters · 1 uSettings · forwarding
4Verified forwarding targets
settings.forwardingAddresses.createPOST /settings/forwardingAddresses · body: ForwardingAddress · 100 usettings.forwardingAddresses.deleteDELETE /settings/forwardingAddresses/{forwardingEmail} · forwardingEmail* · 5 usettings.forwardingAddresses.getGET /settings/forwardingAddresses/{forwardingEmail} · forwardingEmail* · 1 usettings.forwardingAddresses.listGET /settings/forwardingAddresses · 1 uSettings · delegates
4Other accounts allowed to read and send
settings.delegates.createPOST /settings/delegates · body: Delegate · 100 usettings.delegates.deleteDELETE /settings/delegates/{delegateEmail} · delegateEmail* · 5 usettings.delegates.getGET /settings/delegates/{delegateEmail} · delegateEmail* · 1 usettings.delegates.listGET /settings/delegates · 1 uSettings · CSE identities
5Client-side encryption identities (Workspace)
settings.cse.identities.createPOST /settings/cse/identities · body: CseIdentitysettings.cse.identities.deleteDELETE /settings/cse/identities/{cseEmailAddress} · cseEmailAddress*settings.cse.identities.getGET /settings/cse/identities/{cseEmailAddress} · cseEmailAddress*settings.cse.identities.listGET /settings/cse/identities · pageToken, pageSize=20settings.cse.identities.patchPATCH /settings/cse/identities/{emailAddress} · emailAddress* · body: CseIdentitySettings · CSE key pairs
6Client-side encryption key pairs (Workspace)
settings.cse.keypairs.createPOST /settings/cse/keypairs · chainValidation=all · body: CseKeyPairsettings.cse.keypairs.disablePOST /settings/cse/keypairs/{keyPairId}:disable · keyPairId* · body: DisableCseKeyPairRequestsettings.cse.keypairs.enablePOST /settings/cse/keypairs/{keyPairId}:enable · keyPairId* · body: EnableCseKeyPairRequestsettings.cse.keypairs.getGET /settings/cse/keypairs/{keyPairId} · keyPairId*settings.cse.keypairs.listGET /settings/cse/keypairs · pageSize=20, pageTokensettings.cse.keypairs.obliteratePOST /settings/cse/keypairs/{keyPairId}:obliterate · keyPairId* · body: ObliterateCseKeyPairRequestMethod parameters
24Every path and query parameter, and who takes it
chainValidationquery, string, one of all|none, default all · The type of certificate chain validation to perform at creationcseEmailAddresspath, string · The primary email address associated with the client-side encryption identity configuration that's removeddelegateEmailpath, string · The email address of the user to be removed as a delegatedeletedquery, boolean, default false · Mark the email as permanently deleted (not TRASH) and only visible in Google Vault to a Vault administratoremailAddresspath, string · The email address of the client-side encryption identity to updateformatquery, string, one of full|metadata|minimal, default full · The format to return the messages inforwardingEmailpath, string · The forwarding address to be retrievedhistoryTypesquery, string, one of messageAdded|messageDeleted|labelAdded|labelRemoved, repeated · History types to be returned by the functionidpath, string · The ID of the thread to remove from TrashincludeSpamTrashquery, boolean, default false · Include threads from `SPAM` and `TRASH` in the resultsinternalDateSourcequery, string, one of receivedTime|dateHeader, default dateHeader · Source for Gmail's internal date of the messagekeyPairIdpath, string · The identifier of the key pair to turn onlabelIdquery, string · Only return messages with a label matching the IDlabelIdsquery, string, repeated · Only return threads with labels that match all of the specified label IDsmaxResultsquery, integer, default 100 · Maximum number of history records to returnmessageIdpath, string · The ID of the message containing the attachmentmetadataHeadersquery, string, repeated · When given and format is METADATA, only include headers specifiedneverMarkSpamquery, boolean, default false · Ignore the Gmail spam classifier decision and never mark this email as SPAM in the mailboxpageSizequery, integer, default 20 · The number of identities to returnpageTokenquery, string · Page token to retrieve a specific page of results in the listprocessForCalendarquery, boolean, default false · Process calendar invites in the email and add any extracted meetings to the Google Calendar for this userqquery, string · Only return threads matching the specified querysendAsEmailpath, string · The send-as alias to be updatedstartHistoryIdquery, string · RequiredStandard query parameters
11Accepted by every Google API method
oauth_tokenstring · OAuth 2.0 token for the current userkeystring · API key$.xgafvstring, one of 1|2 · V1 error formatupload_protocolstring · Upload protocol for media (e.gaccess_tokenstring · OAuth access tokenaltstring, one of json|media|proto, default json · Data format for responseprettyPrintboolean, default true · Returns response with indentations and line breaksfieldsstring · Selector specifying which fields to include in a partial responsequotaUserstring · Available to use for quota purposes for server-side applicationscallbackstring · JSONPuploadTypestring · Legacy upload protocol for media (e.gOAuth scopes
14From least to most privilege
mail.google.comRead, compose, send, and permanently delete all your email from Gmailgmail.labelsSee and edit your email labelsgmail.modifyRead, compose, and send emails from your Gmail accountgmail.addons.current.message.actionView your email messages when you interact with the add-ongmail.addons.current.message.readonlyView your email messages when the add-on is runninggmail.settings.sharingManage your sensitive mail settings, including who can manage your mailgmail.composeManage drafts and send emailsgmail.settings.basicSee, edit, create, or change your email settings and filters in Gmailgmail.insertAdd emails into your Gmail mailboxgmail.addons.current.message.metadataView your email message metadata when the add-on is runninggmail.readonlyView your email messages and settingsgmail.addons.current.action.composeManage drafts and send emails when you interact with the add-ongmail.metadataView your email message metadata such as labels and headers, but not the email bodygmail.sendSend email on your behalfSchemas
175Message — An email message
Message.labelIdsarray of string · List of IDs of labels applied to this messageMessage.sizeEstimateinteger int32 · Estimated size in bytes of the messageMessage.rawstring byte · The entire email message in an RFC 2822 formatted and base64url encoded stringMessage.threadIdstring · The ID of the thread the message belongs toMessage.payload→ MessagePart · The parsed email structure in the message partsMessage.historyIdstring uint64 · The ID of the last history record that modified this messageMessage.classificationLabelValuesarray of ClassificationLabelValue · Classification Label values on the messageMessage.idstring · The immutable ID of the messageMessage.internalDatestring int64 · The internal message creation timestamp (epoch ms), which determines ordering in the inboxMessage.snippetstring · A short part of the message textMessagePart — A single MIME message part
MessagePart.mimeTypestring · The MIME type of the message partMessagePart.body→ MessagePartBody · The message part body for this part, which may be empty for container MIME message partsMessagePart.filenamestring · The filename of the attachmentMessagePart.headersarray of MessagePartHeader · List of headers on this message partMessagePart.partsarray of MessagePart · The child MIME message parts of this partMessagePart.partIdstring · The immutable ID of the message partMessagePartBody — The body of a single MIME message part
MessagePartBody.attachmentIdstring · When present, contains the ID of an external attachment that can be retrieved in a separate `messages.attachments.get` requestMessagePartBody.datastring byte · The body data of a MIME message part as a base64url encoded stringMessagePartBody.sizeinteger int32 · Number of bytes for the message part data (encoding notwithstanding)MessagePartHeader — fields
MessagePartHeader.valuestring · The value of the header after the `:` separatorMessagePartHeader.namestring · The name of the header before the `:` separatorThread — A collection of messages representing a conversation
Thread.historyIdstring uint64 · The ID of the last history record that modified this threadThread.snippetstring · A short part of the message textThread.idstring · The unique ID of the threadThread.messagesarray of Message · The list of messages in the threadDraft — A draft email in the user's mailbox
Draft.idstring · The immutable ID of the draftDraft.message→ Message · The message content of the draftLabel — Labels are used to categorize messages and threads within the user's mailbox
Label.color→ LabelColor · The color to assign to the labelLabel.namestring · The display name of the labelLabel.idstring · The immutable ID of the labelLabel.labelListVisibilitystring (labelShow|labelShowIfUnread|labelHide) · The visibility of the label in the label list in the Gmail web interfaceLabel.typestring (system|user) · The owner type for the labelLabel.messagesUnreadinteger int32 · The number of unread messages with the labelLabel.messagesTotalinteger int32 · The total number of messages with the labelLabel.threadsUnreadinteger int32 · The number of unread threads with the labelLabel.messageListVisibilitystring (show|hide) · The visibility of messages with this label in the message list in the Gmail web interfaceLabel.threadsTotalinteger int32 · The total number of threads with the labelLabelColor — fields
LabelColor.backgroundColorstring · The background color represented as hex string #RRGGBB (ex #000000)LabelColor.textColorstring · The text color of the label, represented as hex stringProfile — Profile for a Gmail user
Profile.messagesTotalinteger int32 · The total number of messages in the mailboxProfile.threadsTotalinteger int32 · The total number of threads in the mailboxProfile.emailAddressstring · The user's email addressProfile.historyIdstring uint64 · The ID of the mailbox's current history recordHistory — A record of a change to the user's mailbox
History.idstring uint64 · The mailbox sequence IDHistory.messagesDeletedarray of HistoryMessageDeleted · Messages deleted (not Trashed) from the mailbox in this history recordHistory.labelsAddedarray of HistoryLabelAdded · Labels added to messages in this history recordHistory.labelsRemovedarray of HistoryLabelRemoved · Labels removed from messages in this history recordHistory.messagesarray of Message · List of messages changed in this history recordHistory.messagesAddedarray of HistoryMessageAdded · Messages added to the mailbox in this history recordHistoryMessageAdded — fields
HistoryMessageAdded.message→ Message · HistoryMessageDeleted — fields
HistoryMessageDeleted.message→ Message · HistoryLabelAdded — fields
HistoryLabelAdded.message→ Message · HistoryLabelAdded.labelIdsarray of string · Label IDs added to the messageHistoryLabelRemoved — fields
HistoryLabelRemoved.message→ Message · HistoryLabelRemoved.labelIdsarray of string · Label IDs removed from the messageWatchRequest — Set up or update a new push notification watch on this user's mailbox
WatchRequest.labelFilterBehaviorstring (include|exclude) · Filtering behavior of `labelIds list` specifiedWatchRequest.labelFilterActionstring (include|exclude) · Filtering behavior of `labelIds list` specifiedWatchRequest.labelIdsarray of string · List of label_ids to restrict notifications aboutWatchRequest.topicNamestring · A fully qualified Google Cloud Pub/Sub API topic name to publish the events toWatchResponse — Push notification watch response
WatchResponse.historyIdstring uint64 · The ID of the mailbox's current history recordWatchResponse.expirationstring int64 · When Gmail will stop sending notifications for mailbox updates (epoch millis)Filter — Resource definition for Gmail filters
Filter.action→ FilterAction · Action that the filter performsFilter.idstring · The server assigned ID of the filterFilter.criteria→ FilterCriteria · Matching criteria for the filterFilterCriteria — Message matching criteria
FilterCriteria.tostring · The recipient's display name or email addressFilterCriteria.sizeinteger int32 · The size of the entire RFC822 message in bytes, including all headers and attachmentsFilterCriteria.sizeComparisonstring (unspecified|smaller|larger) · How the message size in bytes should be in relation to the size fieldFilterCriteria.subjectstring · Case-insensitive phrase found in the message's subjectFilterCriteria.hasAttachmentboolean · Whether the message has any attachmentFilterCriteria.fromstring · The sender's display name or email addressFilterCriteria.querystring · Only return messages matching the specified queryFilterCriteria.negatedQuerystring · Only return messages not matching the specified queryFilterCriteria.excludeChatsboolean · Whether the response should exclude chatsFilterAction — A set of actions to perform on a message
FilterAction.addLabelIdsarray of string · List of labels to add to the messageFilterAction.removeLabelIdsarray of string · List of labels to remove from the messageFilterAction.forwardstring · Email address that the message should be forwarded toSendAs — Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address
SendAs.isDefaultboolean · Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto-replySendAs.smtpMsa→ SmtpMsa · An optional SMTP service that will be used as an outbound relay for mail sent using this aliasSendAs.verificationStatusstring (verificationStatusUnspecified|accepted|pending) · Indicates whether this address has been verified for use as a send-as aliasSendAs.replyToAddressstring · An optional email address that is included in a "Reply-To:" header for mail sent using this aliasSendAs.displayNamestring · A name that appears in the "From:" header for mail sent using this aliasSendAs.signaturestring · An optional HTML signature that is included in messages composed with this alias in the Gmail web UISendAs.sendAsEmailstring · The email address that appears in the "From:" header for mail sent using this aliasSendAs.isPrimaryboolean · Whether this address is the primary address used to login to the accountSendAs.treatAsAliasboolean · Whether Gmail should treat this address as an alias for the user's primary email addressSmtpMsa — Configuration for communication with an SMTP service
SmtpMsa.passwordstring · The password that will be used for authentication with the SMTP serviceSmtpMsa.hoststring · The hostname of the SMTP serviceSmtpMsa.portinteger int32 · The port of the SMTP serviceSmtpMsa.usernamestring · The username that will be used for authentication with the SMTP serviceSmtpMsa.securityModestring (securityModeUnspecified|none|ssl|starttls) · The protocol that will be used to secure communication with the SMTP serviceSmimeInfo — An S/MIME email config
SmimeInfo.idstring · The immutable ID for the SmimeInfoSmimeInfo.pemstring · PEM formatted X509 concatenated certificate string (standard base64 encoding)SmimeInfo.isDefaultboolean · Whether this SmimeInfo is the default one for this user's send-as addressSmimeInfo.expirationstring int64 · When the certificate expires (in milliseconds since epoch)SmimeInfo.pkcs12string byte · PKCS#12 format containing a single private/public key pair and certificate chainSmimeInfo.encryptedKeyPasswordstring · Encrypted key password, when key is encryptedSmimeInfo.issuerCnstring · The S/MIME certificate issuer's common nameVacationSettings — Vacation auto-reply settings for an account
VacationSettings.restrictToDomainboolean · Flag that determines whether responses are sent to recipients who are outside of the user's domainVacationSettings.enableAutoReplyboolean · Flag that controls whether Gmail automatically replies to messagesVacationSettings.responseSubjectstring · Optional text to prepend to the subject line in vacation responsesVacationSettings.responseBodyHtmlstring · Response body in HTML formatVacationSettings.responseBodyPlainTextstring · Response body in plain text formatVacationSettings.restrictToContactsboolean · Flag that determines whether responses are sent to recipients who are not in the user's list of contactsVacationSettings.startTimestring int64 · An optional start time for sending auto-replies (epoch ms)VacationSettings.endTimestring int64 · An optional end time for sending auto-replies (epoch ms)AutoForwarding — Auto-forwarding settings for an account
AutoForwarding.enabledboolean · Whether all incoming mail is automatically forwarded to another addressAutoForwarding.emailAddressstring · Email address to which all incoming messages are forwardedAutoForwarding.dispositionstring (dispositionUnspecified|leaveInInbox|archive|trash|markRead) · The state that a message should be left in after it has been forwardedForwardingAddress — Settings for a forwarding address
ForwardingAddress.forwardingEmailstring · An email address to which messages can be forwardedForwardingAddress.verificationStatusstring (verificationStatusUnspecified|accepted|pending) · Indicates whether this address has been verified and is usable for forwardingImapSettings — IMAP settings for an account
ImapSettings.enabledboolean · Whether IMAP is enabled for the accountImapSettings.autoExpungeboolean · If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAPImapSettings.expungeBehaviorstring (expungeBehaviorUnspecified|archive|trash|deleteForever) · The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folderImapSettings.maxFolderSizeinteger int32 · An optional limit on the number of messages that an IMAP folder may containPopSettings — POP settings for an account
PopSettings.dispositionstring (dispositionUnspecified|leaveInInbox|archive|trash|markRead) · The action that will be executed on a message after it has been fetched via POPPopSettings.accessWindowstring (accessWindowUnspecified|disabled|fromNowOn|allMail) · The range of messages which are accessible via POPLanguageSettings — Language settings for an account
LanguageSettings.displayLanguagestring · The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively)Delegate — Settings for a delegate
Delegate.verificationStatusstring (verificationStatusUnspecified|accepted|pending|rejected|expired) · Indicates whether this address has been verified and can act as a delegate for the accountDelegate.delegateEmailstring · The email address of the delegateModifyMessageRequest — fields
ModifyMessageRequest.addLabelIdsarray of string · A list of IDs of labels to add to this messageModifyMessageRequest.removeClassificationLabelIdsarray of string · A list of Classification Label values to remove from this messageModifyMessageRequest.removeLabelIdsarray of string · A list IDs of labels to remove from this messageModifyMessageRequest.addClassificationLabelsarray of ClassificationLabelValue · A list of classification label values to addModifyThreadRequest — fields
ModifyThreadRequest.removeLabelIdsarray of string · A list of IDs of labels to remove from this threadModifyThreadRequest.addLabelIdsarray of string · A list of IDs of labels to add to this threadBatchDeleteMessagesRequest — fields
BatchDeleteMessagesRequest.idsarray of string · The IDs of the messages to deleteBatchModifyMessagesRequest — fields
BatchModifyMessagesRequest.addLabelIdsarray of string · A list of label IDs to add to messagesBatchModifyMessagesRequest.removeLabelIdsarray of string · A list of label IDs to remove from messagesBatchModifyMessagesRequest.addClassificationLabelsarray of ClassificationLabelValue · A list of Classification Label values to addBatchModifyMessagesRequest.idsarray of string · The IDs of the messages to modifyBatchModifyMessagesRequest.removeClassificationLabelIdsarray of string · A list of Classification Label values to remove from messagesListMessagesResponse — fields
ListMessagesResponse.resultSizeEstimateinteger uint32 · Estimated total number of resultsListMessagesResponse.messagesarray of Message · List of messagesListMessagesResponse.nextPageTokenstring · Token to retrieve the next page of results in the listListThreadsResponse — fields
ListThreadsResponse.nextPageTokenstring · Page token to retrieve the next page of results in the listListThreadsResponse.threadsarray of Thread · List of threadsListThreadsResponse.resultSizeEstimateinteger uint32 · Estimated total number of resultsListHistoryResponse — fields
ListHistoryResponse.historyIdstring uint64 · The ID of the mailbox's current history recordListHistoryResponse.historyarray of History · List of history recordsListHistoryResponse.nextPageTokenstring · Page token to retrieve the next page of results in the listListLabelsResponse — fields
ListLabelsResponse.labelsarray of Label · List of labelsListDraftsResponse — fields
ListDraftsResponse.nextPageTokenstring · Token to retrieve the next page of results in the listListDraftsResponse.draftsarray of Draft · List of draftsListDraftsResponse.resultSizeEstimateinteger uint32 · Estimated total number of resultsCseIdentity — The client-side encryption (CSE) configuration for the email address of an authenticated user
CseIdentity.emailAddressstring · The email address for the sending identityCseIdentity.signAndEncryptKeyPairs→ SignAndEncryptKeyPairs · The configuration of a CSE identity that uses different key pairs for signing and encryptionCseIdentity.primaryKeyPairIdstring · If a key pair is associated, the ID of the key pair, CseKeyPairCseKeyPair — A client-side encryption S/MIME key pair, which is comprised of a public key, its certificate chain, and metadata for its paired private key
CseKeyPair.subjectEmailAddressesarray of string · Output onlyCseKeyPair.disableTimestring google-datetime · Output onlyCseKeyPair.pkcs7string · Input onlyCseKeyPair.pemstring · Output onlyCseKeyPair.privateKeyMetadataarray of CsePrivateKeyMetadata · Metadata for instances of this key pair's private keyCseKeyPair.keyPairIdstring · Output onlyCseKeyPair.enablementStatestring (stateUnspecified|enabled|disabled) · Output onlyKaclsKeyMetadata — Metadata for private keys managed by an external key access control list service
KaclsKeyMetadata.kaclsUristring · The URI of the key access control list service that manages the private keyKaclsKeyMetadata.kaclsDatastring · Opaque data generated and used by the key access control list serviceHardwareKeyMetadata — Metadata for hardware keys
HardwareKeyMetadata.descriptionstring · Description about the hardware keyCsePrivateKeyMetadata — Metadata for a private key instance
CsePrivateKeyMetadata.kaclsKeyMetadata→ KaclsKeyMetadata · Metadata for a private key instance managed by an external key access control list serviceCsePrivateKeyMetadata.privateKeyMetadataIdstring · Output onlyCsePrivateKeyMetadata.hardwareKeyMetadata→ HardwareKeyMetadata · Metadata for hardware keysSignAndEncryptKeyPairs — The configuration of a CSE identity that uses different key pairs for signing and encryption
SignAndEncryptKeyPairs.signingKeyPairIdstring · The ID of the CseKeyPair that signs outgoing mailSignAndEncryptKeyPairs.encryptionKeyPairIdstring · The ID of the CseKeyPair that encrypts signed outgoing mailClassificationLabelFieldValue — Field values for a classification label
ClassificationLabelFieldValue.fieldIdstring · RequiredClassificationLabelFieldValue.selectionstring · Selection choice ID for the selection optionClassificationLabelValue — Classification Labels applied to the email message
ClassificationLabelValue.labelIdstring · RequiredClassificationLabelValue.fieldsarray of ClassificationLabelFieldValue · Field values for the given classification label IDListCseIdentitiesResponse — fields
ListCseIdentitiesResponse.nextPageTokenstring · Pagination token to be passed to a subsequent ListCseIdentities call in order to retrieve the next page of identitiesListCseIdentitiesResponse.cseIdentitiesarray of CseIdentity · One page of the list of CSE identities configured for the userListCseKeyPairsResponse — fields
ListCseKeyPairsResponse.cseKeyPairsarray of CseKeyPair · One page of the list of CSE key pairs installed for the userListCseKeyPairsResponse.nextPageTokenstring · Pagination token to be passed to a subsequent ListCseKeyPairs call in order to retrieve the next page of key pairsListDelegatesResponse — Response for the ListDelegates method
ListDelegatesResponse.delegatesarray of Delegate · List of the user's delegates (with any verification status)ListFiltersResponse — Response for the ListFilters method
ListFiltersResponse.filterarray of Filter · List of a user's filtersListForwardingAddressesResponse — Response for the ListForwardingAddresses method
ListForwardingAddressesResponse.forwardingAddressesarray of ForwardingAddress · List of addresses that may be used for forwardingListSendAsResponse — Response for the ListSendAs method
ListSendAsResponse.sendAsarray of SendAs · List of send-as aliasesListSmimeInfoResponse — fields
ListSmimeInfoResponse.smimeInfoarray of SmimeInfo · List of SmimeInfoQuota units
63Per call, most expensive first · 6,000 units per user per minute
drafts.send100 unitsmessages.send100 unitssettings.delegates.create100 unitssettings.forwardingAddresses.create100 unitssettings.sendAs.create100 unitssettings.sendAs.patch100 unitssettings.sendAs.update100 unitssettings.sendAs.verify100 unitssettings.updatePop100 unitswatch100 unitsmessages.batchDelete50 unitsmessages.batchModify50 unitsstop50 unitsthreads.get40 unitsmessages.import25 unitsmessages.insert25 unitsdrafts.get20 unitsmessages.attachments.get20 unitsmessages.get20 unitsmessages.trash20 unitsthreads.delete20 unitsthreads.trash20 unitsdrafts.update15 unitsdrafts.create10 unitsdrafts.delete10 unitsmessages.delete10 unitsthreads.list10 unitsthreads.modify10 unitsthreads.untrash10 unitsdrafts.list5 unitslabels.create5 unitslabels.delete5 unitslabels.patch5 unitslabels.update5 unitsmessages.list5 unitsmessages.modify5 unitsmessages.untrash5 unitssettings.delegates.delete5 unitssettings.filters.create5 unitssettings.filters.delete5 unitssettings.forwardingAddresses.delete5 unitssettings.sendAs.delete5 unitssettings.updateAutoForwarding5 unitssettings.updateImap5 unitssettings.updateLanguage5 unitssettings.updateVacation5 unitshistory.list2 unitsgetProfile1 unitslabels.get1 unitslabels.list1 unitssettings.delegates.get1 unitssettings.delegates.list1 unitssettings.filters.get1 unitssettings.filters.list1 unitssettings.forwardingAddresses.get1 unitssettings.forwardingAddresses.list1 unitssettings.getAutoForwarding1 unitssettings.getImap1 unitssettings.getLanguage1 unitssettings.getPop1 unitssettings.getVacation1 unitssettings.sendAs.get1 unitssettings.sendAs.list1 units