MailSanitizer

command module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

README

MailSanitizer

service which senitize email by deleting spams

Refer Using OAuth 2.0 to Access Google APIs and Oauth Scopes to setup google API authentication

./bin/MailSanitizer --h
 usage:
	./bin/MailSanitizer [-credential <credential file path>] [-label <label>] [-spammers <spammers file path>]

options:
	-credential     Optional 	oauth credential filen downloaded from google console(default value is credentials.json)
	-label		    Optional 	labelIds of labels/folder, separated by ","
	-token 			Optiobal	path of token file (default value is token.json)
	-spammers		Optional    path of spamers file. If not provided, all mails will be deleted into label
	-user			Optional 	emailId, default value is me

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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