gmvault
gmvault copied to clipboard
read-only access to gmail
I am concerned about the possibility of losing data due to possible bugs in gmvault. Most likely there aren't such bugs, but I only wish to use gmvault to backup my email and would therefore, by the principle of least privilege, would prefer that gmvault only request read-only permission to gmail.
Is there a way to configure gmvault to only request read-only permissions?
Auth scope doesn't seem to be configurable, but you could try setting
scope=https://www.googleapis.com/auth/gmail.readonly
in src/gmv/gmvault_const.py
of your copy of gmvault.
I get an error after entering the google-generated code in gmvault:
Connect to Gmail server.
ERROR: Invalid credentials, cannot login to the gmail server. Please check your login and password or xoauth token.
@aa755 @tobbez Gmvault doesn't ever delete emails in the mailbox box (only pull or push emails).
I could consider it as a feature but it makes the setup much more complete.