gmail.v1 library Null safety

Gmail API - v1

The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.

For more information, see developers.google.cn/gmail/api/

Create an instance of GmailApi to access these resources:

Classes

AutoForwarding
Auto-forwarding settings for an account.
BatchDeleteMessagesRequest
BatchModifyMessagesRequest
ByteRange
Specifies a range of media.
Delegate
Settings for a delegate. [...]
DownloadOptions
Represents options for downloading media. [...]
Draft
A draft email in the user's mailbox.
Filter
Resource definition for Gmail filters. [...]
FilterAction
A set of actions to perform on a message.
FilterCriteria
Message matching criteria.
ForwardingAddress
Settings for a forwarding address.
GmailApi
The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.
History
A record of a change to the user's mailbox. [...]
HistoryLabelAdded
HistoryLabelRemoved
HistoryMessageAdded
HistoryMessageDeleted
ImapSettings
IMAP settings for an account.
Label
Labels are used to categorize messages and threads within the user's mailbox. [...]
LabelColor
LanguageSettings
Language settings for an account. [...]
ListDelegatesResponse
Response for the ListDelegates method.
ListDraftsResponse
ListFiltersResponse
Response for the ListFilters method.
ListForwardingAddressesResponse
Response for the ListForwardingAddresses method.
ListHistoryResponse
ListLabelsResponse
ListMessagesResponse
ListSendAsResponse
Response for the ListSendAs method.
ListSmimeInfoResponse
ListThreadsResponse
Media
Represents a media consisting of a stream of bytes, a content type and a length.
Message
An email message.
MessagePart
A single MIME message part.
MessagePartBody
The body of a single MIME message part.
MessagePartHeader
ModifyMessageRequest
ModifyThreadRequest
PartialDownloadOptions
Options for downloading a Media.
PopSettings
POP settings for an account.
Profile
Profile for a Gmail user.
ResumableUploadOptions
Specifies options for resumable uploads.
SendAs
Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address. [...]
SmimeInfo
An S/MIME email config.
SmtpMsa
Configuration for communication with an SMTP service.
Thread
A collection of messages representing a conversation.
UploadOptions
Represents options for uploading a Media.
UsersDraftsResource
UsersHistoryResource
UsersLabelsResource
UsersMessagesAttachmentsResource
UsersMessagesResource
UsersResource
UsersSettingsDelegatesResource
UsersSettingsFiltersResource
UsersSettingsForwardingAddressesResource
UsersSettingsResource
UsersSettingsSendAsResource
UsersSettingsSendAsSmimeInfoResource
UsersThreadsResource
VacationSettings
Vacation auto-reply settings for an account. [...]
WatchRequest
Set up or update a new push notification watch on this user's mailbox.
WatchResponse
Push notification watch response.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.