gmail

package
v0.0.0-...-a529c89 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2018 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

App that connects to Gmail via Gmail api and saves all emails from "To", "From", and "Cc" into a MongoDB

Resources: https://developers.google.com/gmail/api/quickstart/go https://console.developers.google.com https://godoc.org/google.golang.org/api/gmail/v1 https://tools.ietf.org/html/rfc4021

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gmail

type Gmail struct {
	// contains filtered or unexported fields
}

func (*Gmail) NewGmail

func (g *Gmail) NewGmail(knownEmails []string, db *mongo.MongoDB) error

creates a new gmail connection

func (*Gmail) ProcessMessages

func (g *Gmail) ProcessMessages()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL