Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GmailClient ¶
type GmailClient struct {
// contains filtered or unexported fields
}
Simplified Gmail client that uses the Gmail API.
func New ¶
func New(credentialsFileName string, tokenFileName string) (*GmailClient, error)
Creates a new Gmail client.
func (*GmailClient) GetTodaysEmailFromSender ¶
func (gc *GmailClient) GetTodaysEmailFromSender(sender string) (string, error)
Obtains the body of the first email received today from a given sender.
Click to show internal directories.
Click to hide internal directories.