gmail-attic

module
v0.0.0-...-d609338 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: GPL-3.0

README

gmail-attic

Helps to offload GMail messages from Google platform to storage of your choice.

Contents

In te test folder we collect different methods of interactiving with GMail.

  • gmail-pop3

This methods uses USERNAME + PASSWORD to connect with GMail. This only works if the GMail account is not setup with 2FA.

  • gmail-oauth

This method uses a OAuth Authentication flow. This will als work for accounts setup with 2FA

This method requires that the application is first provided with Application Credentials to allow initiating the Google OAuth flow.

Run samples

Either run:

$ go run test/gmail-pop3/main.go

or

$ go run test/gmail-oauth/main.go

Directories

Path Synopsis
Package client instantiates a gmail client.
Package client instantiates a gmail client.
test
client
Client test.
Client test.
*
gmail-pop3
Shameless rip from https://github.com/knadh/go-pop3 This doesn't look future-proof.
Shameless rip from https://github.com/knadh/go-pop3 This doesn't look future-proof.

Jump to

Keyboard shortcuts

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