Gmail
Email service with API for sending and managing mail
| API | Protocol | Base URL | Docs | Reference | OpenAPI | SDKs |
|---|---|---|---|---|---|---|
| Main | rest | https://gmail.googleapis.com/ | link | — | — | — |
Actions (85)
Users · 85
- Batch delete messagesPOST /gmail/v1/users/{userId}/messages/batchDelete
Deletes many messages by ID.
documented - Batch modify messagesPOST /gmail/v1/users/{userId}/messages/batchModify
Modifies the labels on the specified messages.
documented - Create CSE identityPOST /gmail/v1/users/{userId}/settings/cse/identities
Creates a client-side encryption identity for the user.
documented - Create CSE keypairPOST /gmail/v1/users/{userId}/settings/cse/keypairs
Creates and uploads a client-side encryption key pair.
documented - Create delegatePOST /gmail/v1/users/{userId}/settings/delegates
Adds a delegate with accepted verification status.
documented - Create draftPOST /gmail/v1/users/{userId}/drafts
Creates a new draft with the DRAFT label.
documented - Create draft (upload)POST /upload/gmail/v1/users/{userId}/drafts
Creates a new draft with the DRAFT label using the upload endpoint.
documented - Create filterPOST /gmail/v1/users/{userId}/settings/filters
Creates a new mail filter.
documented - Create forwarding addressPOST /gmail/v1/users/{userId}/settings/forwardingAddresses
Creates a forwarding address.
documented - Create labelPOST /gmail/v1/users/{userId}/labels
Creates a new label.
documented - Create send-as aliasPOST /gmail/v1/users/{userId}/settings/sendAs
Creates a custom "from" send-as alias.
documented - Delete CSE identityDELETE /gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}
Deletes a client-side encryption identity.
documented - Delete S/MIME configDELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}
Deletes an S/MIME config for the specified send-as alias.
documented - Delete delegateDELETE /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}
Removes a delegate and revokes verification if needed.
documented - Delete draftDELETE /gmail/v1/users/{userId}/drafts/{id}
Immediately and permanently deletes the specified draft.
documented - Delete filterDELETE /gmail/v1/users/{userId}/settings/filters/{id}
Deletes a filter.
documented - Delete forwarding addressDELETE /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
Deletes a forwarding address.
documented - Delete labelDELETE /gmail/v1/users/{userId}/labels/{id}
Immediately and permanently deletes the specified label and removes it from messages/threads.
documented - Delete messageDELETE /gmail/v1/users/{userId}/messages/{id}
Immediately and permanently deletes the specified message.
documented - Delete send-as aliasDELETE /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
Deletes a send-as alias.
documented - Delete threadDELETE /gmail/v1/users/{userId}/threads/{id}
Immediately and permanently deletes the specified thread.
documented - Disable CSE keypairPOST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:disable
Disables a CSE key pair.
documented - Enable CSE keypairPOST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:enable
Enables a previously disabled CSE key pair.
documented - Get CSE identityGET /gmail/v1/users/{userId}/settings/cse/identities/{cseEmailAddress}
Retrieves a CSE identity configuration.
documented - Get CSE keypairGET /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}
Retrieves a CSE key pair.
documented - Get IMAPGET /gmail/v1/users/{userId}/settings/imap
Gets IMAP settings for the account.
documented - Get POPGET /gmail/v1/users/{userId}/settings/pop
Gets POP settings for the account.
documented - Get S/MIME configGET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}
Gets the S/MIME config for the specified send-as alias.
documented - Get attachmentGET /gmail/v1/users/{userId}/messages/{messageId}/attachments/{id}
Gets the specified message attachment.
documented - Get auto-forwardingGET /gmail/v1/users/{userId}/settings/autoForwarding
Gets the auto-forwarding setting for the account.
documented - Get delegateGET /gmail/v1/users/{userId}/settings/delegates/{delegateEmail}
Gets a delegate’s details.
documented - Get draftGET /gmail/v1/users/{userId}/drafts/{id}
Gets the specified draft.
documented - Get filterGET /gmail/v1/users/{userId}/settings/filters/{id}
Gets a filter.
documented - Get forwarding addressGET /gmail/v1/users/{userId}/settings/forwardingAddresses/{forwardingEmail}
Gets a forwarding address.
documented - Get labelGET /gmail/v1/users/{userId}/labels/{id}
Gets the specified label.
documented - Get languageGET /gmail/v1/users/{userId}/settings/language
Gets language settings for the account.
documented - Get messageGET /gmail/v1/users/{userId}/messages/{id}
Gets the specified message.
documented - Get profileGET /gmail/v1/users/{userId}/profile
Gets the Gmail profile for the specified user.
documented - Get send-as aliasGET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
Gets the specified send-as alias.
documented - Get threadGET /gmail/v1/users/{userId}/threads/{id}
Gets the specified thread.
documented - Get vacationGET /gmail/v1/users/{userId}/settings/vacation
Gets vacation responder settings.
documented - Import messagePOST /gmail/v1/users/{userId}/messages/import
Imports a message into only this user's mailbox, with standard email delivery scanning.
documented - Import message (upload)POST /upload/gmail/v1/users/{userId}/messages/import
Imports a message into only this user's mailbox using the upload endpoint.
documented - Insert S/MIME configPOST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo
Inserts (uploads) an S/MIME config for the specified send-as alias.
documented - Insert messagePOST /gmail/v1/users/{userId}/messages
Directly inserts a message into only this user's mailbox (bypassing most scanning).
documented - Insert message (upload)POST /upload/gmail/v1/users/{userId}/messages
Inserts a message into only this user's mailbox via the upload endpoint.
documented - List CSE identitiesGET /gmail/v1/users/{userId}/settings/cse/identities
Lists client-side encryption identities.
documented - List CSE keypairsGET /gmail/v1/users/{userId}/settings/cse/keypairs
Lists CSE key pairs.
documented - List S/MIME configsGET /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo
Lists S/MIME configs for the specified send-as alias.
documented - List delegatesGET /gmail/v1/users/{userId}/settings/delegates
Lists delegates for the account.
documented - List draftsGET /gmail/v1/users/{userId}/drafts
Lists the drafts in the user's mailbox.
documented - List filtersGET /gmail/v1/users/{userId}/settings/filters
Lists filters.
documented - List forwarding addressesGET /gmail/v1/users/{userId}/settings/forwardingAddresses
Lists forwarding addresses.
documented - List historyGET /gmail/v1/users/{userId}/history
Lists the history of all changes to the given mailbox.
documented - List labelsGET /gmail/v1/users/{userId}/labels
Lists all labels in the user's mailbox.
documented - List messagesGET /gmail/v1/users/{userId}/messages
Lists the messages in the user's mailbox.
⚡ superfastdeveloped - List send-as aliasesGET /gmail/v1/users/{userId}/settings/sendAs
Lists send-as aliases.
documented - List threadsGET /gmail/v1/users/{userId}/threads
Lists the threads in the user's mailbox.
documented - Modify messagePOST /gmail/v1/users/{userId}/messages/{id}/modify
Modifies the labels on the specified message.
documented - Modify threadPOST /gmail/v1/users/{userId}/threads/{id}/modify
Modifies the labels applied to the thread.
documented - Move message to trashPOST /gmail/v1/users/{userId}/messages/{id}/trash
Moves the specified message to the trash.
documented - Obliterate CSE keypairPOST /gmail/v1/users/{userId}/settings/cse/keypairs/{keyPairId}:obliterate
Permanently deletes a CSE key pair.
documented - Patch CSE identityPATCH /gmail/v1/users/{userId}/settings/cse/identities/{emailAddress}
Updates a CSE identity configuration.
documented - Patch labelPATCH /gmail/v1/users/{userId}/labels/{id}
Patch the specified label.
documented - Patch send-asPATCH /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
Patches the specified send-as alias.
documented - Send draftPOST /gmail/v1/users/{userId}/drafts/send
Sends the specified draft to the recipients in the To, Cc, and Bcc headers.
documented - Send draft (upload)POST /upload/gmail/v1/users/{userId}/drafts/send
Sends the specified draft to the recipients using the upload endpoint.
documented - Send messagePOST /gmail/v1/users/{userId}/messages/send
Sends the specified message to the recipients in the To, Cc, and Bcc headers.
documented - Send message (upload)POST /upload/gmail/v1/users/{userId}/messages/send
Sends the specified message to the recipients using the upload endpoint.
documented - Set default S/MIME configPOST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/smimeInfo/{id}/setDefault
Sets the default S/MIME config for the specified send-as alias.
documented - Stop push notificationsPOST /gmail/v1/users/{userId}/stop
Stops push notifications for the given user mailbox.
documented - Trash threadPOST /gmail/v1/users/{userId}/threads/{id}/trash
Moves the specified thread to the trash.
documented - Untrash messagePOST /gmail/v1/users/{userId}/messages/{id}/untrash
Restores the specified message from the trash.
documented - Untrash threadPOST /gmail/v1/users/{userId}/threads/{id}/untrash
Removes the specified thread from the trash.
documented - Update IMAPPUT /gmail/v1/users/{userId}/settings/imap
Updates IMAP settings.
documented - Update POPPUT /gmail/v1/users/{userId}/settings/pop
Updates POP settings.
documented - Update auto-forwardingPUT /gmail/v1/users/{userId}/settings/autoForwarding
Updates the auto-forwarding setting.
documented - Update draftPUT /gmail/v1/users/{userId}/drafts/{id}
Replaces a draft's content.
documented - Update draft (upload)PUT /upload/gmail/v1/users/{userId}/drafts/{id}
Replaces a draft's content using the upload endpoint.
documented - Update labelPUT /gmail/v1/users/{userId}/labels/{id}
Updates the specified label.
documented - Update languagePUT /gmail/v1/users/{userId}/settings/language
Updates language settings.
documented - Update send-asPUT /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}
Updates a send-as alias.
documented - Update vacationPUT /gmail/v1/users/{userId}/settings/vacation
Updates vacation responder settings.
documented - Verify send-asPOST /gmail/v1/users/{userId}/settings/sendAs/{sendAsEmail}/verify
Sends a verification email to the send-as alias address.
documented - Watch for push notificationsPOST /gmail/v1/users/{userId}/watch
Sets up or updates a push notification watch on the given user mailbox.
documented