Module google_gmail1::api[][src]

Structs

Auto-forwarding settings for an account.

There is no detailed description.

There is no detailed description.

Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator’s account. See “Set up mail delegation” for more information about delegates.

A draft email in the user’s mailbox.

Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.

A set of actions to perform on a message.

Message matching criteria.

Settings for a forwarding address.

Central instance to access all Gmail related resource activities

A record of a change to the user’s mailbox. Each history change may affect multiple messages in multiple ways.

There is no detailed description.

There is no detailed description.

There is no detailed description.

There is no detailed description.

IMAP settings for an account.

Labels are used to categorize messages and threads within the user’s mailbox.

There is no detailed description.

Language settings for an account. These settings correspond to the “Language settings” feature in the web interface.

Response for the ListDelegates method.

There is no detailed description.

Response for the ListFilters method.

Response for the ListForwardingAddresses method.

There is no detailed description.

There is no detailed description.

There is no detailed description.

Response for the ListSendAs method.

There is no detailed description.

There is no detailed description.

An email message.

A single MIME message part.

The body of a single MIME message part.

There is no detailed description.

There is no detailed description.

There is no detailed description.

POP settings for an account.

Profile for a Gmail user.

Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom “from” address. Send-as aliases correspond to the “Send Mail As” feature in the web interface.

An S/MIME email config.

Configuration for communication with an SMTP service.

A collection of messages representing a conversation.

Creates a new draft with the DRAFT label.

Immediately and permanently deletes the specified draft. Does not simply trash it.

Gets the specified draft.

Lists the drafts in the user’s mailbox.

Sends the specified, existing draft to the recipients in the To, Cc, and Bcc headers.

Replaces a draft’s content.

Gets the current user’s Gmail profile.

Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasing historyId).

Creates a new label.

Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.

Gets the specified label.

Lists all labels in the user’s mailbox.

Patch the specified label.

Updates the specified label.

Gets the specified message attachment.

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

Modifies the labels on the specified messages.

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

Gets the specified message.

Imports a message into only this user’s mailbox, with standard email delivery scanning and classification similar to receiving via SMTP. Does not send a message. Note: This function doesn’t trigger forwarding rules or filters set up by the user.

Directly inserts a message into only this user’s mailbox similar to IMAP APPEND, bypassing most scanning and classification. Does not send a message.

Lists the messages in the user’s mailbox.

Modifies the labels on the specified message.

Sends the specified message to the recipients in the To, Cc, and Bcc headers.

Moves the specified message to the trash.

Removes the specified message from the trash.

A builder providing access to all methods supported on user resources. It is not used directly, but through the Gmail hub.

Adds a delegate with its verification status set directly to accepted, without sending any verification email. The delegate user must be a member of the same G Suite organization as the delegator user. Gmail imposes limitations on the number of delegates and delegators each user in a G Suite organization can have. These limits depend on your organization, but in general each user can have up to 25 delegates and up to 10 delegators. Note that a delegate user must be referred to by their primary email address, and not an email alias. Also note that when a new delegate is created, there may be up to a one minute delay before the new delegate is available for use. This method is only available to service account clients that have been delegated domain-wide authority.

Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.

Gets the specified delegate. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.

Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.

Creates a filter. Note: you can only create a maximum of 1,000 filters.

Deletes a filter.

Lists the message filters of a Gmail user.

Creates a forwarding address. If ownership verification is required, a message will be sent to the recipient and the resource’s verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. This method is only available to service account clients that have been delegated domain-wide authority.

Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.

Gets the specified forwarding address.

Lists the forwarding addresses for the specified account.

Gets the auto-forwarding setting for the specified account.

Gets IMAP settings.

Gets language settings.

Gets POP settings.

Gets vacation responder settings.

Creates a custom “from” send-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the SMTP service to validate the configuration before creating the alias. If ownership verification is required for the alias, a message will be sent to the email address and the resource’s verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method is only available to service account clients that have been delegated domain-wide authority.

Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.

Gets the specified send-as alias. Fails with an HTTP 404 error if the specified address is not a member of the collection.

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.

Patch the specified send-as alias.

Deletes the specified S/MIME config for the specified send-as alias.

Gets the specified S/MIME config for the specified send-as alias.

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.

Lists S/MIME configs for the specified send-as alias.

Sets the default S/MIME config for the specified send-as alias.

Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. Addresses other than the primary address for the account can only be updated by service account clients that have been delegated domain-wide authority.

Sends a verification email to the specified send-as alias address. The verification status must be pending. This method is only available to service account clients that have been delegated domain-wide authority.

Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority.

Updates IMAP settings.

Updates 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 POP settings.

Updates vacation responder settings.

Stop receiving push notifications for the given user mailbox.

Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash instead.

Gets the specified thread.

Lists the threads in the user’s mailbox.

Modifies the labels applied to the thread. This applies to all messages in the thread.

Moves the specified thread to the trash.

Removes the specified thread from the trash.

Set up or update a push notification watch on the given user mailbox.

Vacation auto-reply settings for an account. These settings correspond to the “Vacation responder” feature in the web interface.

Set up or update a new push notification watch on this user’s mailbox.

Push notification watch response.

Enums

Identifies the an OAuth2 authorization scope. A scope is needed when requesting an authorization token.