class

Google::Gmail::Messages

Inherits Google::Auth::GetToken / Reference / Object

Constructors

new(auth : Google::Auth | Google::FileAuth | String)
Source

Instance methods

send(user_id : String, email : String)
Source
send(response : HTTP::Client::Response)
Source
send_request(user_id : String, email : String)

API details: https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send sending a RAW RFC 2822 email: https://developers.google.com/gmail/api/reference/rest/v1/users.messages#Message requires scope: https://www.googleapis.com/auth/gmail.send

Source