GmailApi class

Access Gmail mailboxes including sending user email.

Constructors

GmailApi(Client client, { String rootUrl: "https://www.googleapis.com/" String servicePath: "gmail/v1/users/" })

Properties

users UsersResourceApi
read-only
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Constants

GmailComposeScope → const String
Manage drafts and send emails
"https://www.googleapis.com/auth/gmail.compose"
GmailInsertScope → const String
Insert mail into your mailbox
"https://www.googleapis.com/auth/gmail.insert"
GmailLabelsScope → const String
Manage mailbox labels
"https://www.googleapis.com/auth/gmail.labels"
GmailMetadataScope → const String
View your email message metadata such as labels and headers, but not the email body
"https://www.googleapis.com/auth/gmail.metadata"
GmailModifyScope → const String
View and modify but not delete your email
"https://www.googleapis.com/auth/gmail.modify"
GmailReadonlyScope → const String
View your email messages and settings
"https://www.googleapis.com/auth/gmail.readonly"
GmailSendScope → const String
Send email on your behalf
"https://www.googleapis.com/auth/gmail.send"
GmailSettingsBasicScope → const String
Manage your basic mail settings
"https://www.googleapis.com/auth/gmail.settings.basic"
GmailSettingsSharingScope → const String
Manage your sensitive mail settings, including who can manage your mail
"https://www.googleapis.com/auth/gmail.settings.sharing"
MailGoogleComScope → const String
Read, compose, send, and permanently delete all your email from Gmail
"https://mail.google.com/"