Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lann/gmail-autolabel
https://github.com/lann/gmail-autolabel
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/lann/gmail-autolabel
- Owner: lann
- Created: 2011-01-26T21:52:09.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2011-01-26T22:48:06.000Z (almost 14 years ago)
- Last Synced: 2023-03-11T16:45:16.161Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
Automatically label messages in Google Mail based on +tags or catch-all domain addresses
Usage:
main.py [-h] [-v] [-y] [-p PASSWORD] [-m MAILBOX] [-M]
[-t | -d DOMAIN[,DOMAIN...]] [-i IGNORE[,IGNORE...]]
[-e LABEL_PREFIX] [-c {lower,upper,capitalize,none}]
accountpositional arguments:
account Google mail accountoptional arguments:
-h, --help show this help message and exit
-v, --verbose
-y, --dry-run Just print labels that would be applied
-p PASSWORD, --password PASSWORD
Account password (will prompt otherwise)
-m MAILBOX, --mailbox MAILBOX
Mailbox to label (defaults to Inbox)
-M, --move Move labeled messages out of mailbox
-t, --tags Label for address tags (plus-style) [default]
-d DOMAIN[,DOMAIN...], --domain DOMAIN[,DOMAIN...]
Label for "catch-all" domain addresses
-i IGNORE[,IGNORE...], --ignore IGNORE[,IGNORE...]
Comma-separated list of labels to ignore
-e LABEL_PREFIX, --label-prefix LABEL_PREFIX
Prefix to add to all labels
-c {lower,upper,capitalize,none}, --label-case {lower,upper,capitalize,none}
Transform label case (Default: lower)