class Google::Gmail::Messages

Included Modules

Defined in:

gmail/messages.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(auth : Google::Auth | Google::FileAuth | String) #

[View source]

Instance Method Detail

def send(user_id : String, email : String) #

[View source]
def send(response : HTTP::Client::Response) #

[View source]
def 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


[View source]