You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
* Create new: "Oauth2" client. Give it a name that you like.
120
120
* I chose type "other" and left the majority of the fields blank.
121
121
* You _might_ have to create a "Consent Screen" first, I think this only applies to those users who are using gsuite.
122
-
*3. Once you've complete the Oauth2 client-creation you'll find a download icon. Click it
122
+
* 3 Once you've complete the Oauth2 client-creation you'll find a download icon. Click it
123
123
* This will save something like `client_secret_blah.....googleusercontent.com.json`
124
124
125
125
Save the downloaded credentials-file as "`~/.labeller.credentials`" and you can then run the application.
@@ -129,17 +129,21 @@ Save the downloaded credentials-file as "`~/.labeller.credentials`" and you can
129
129
130
130
## First Run
131
131
132
-
The first time you run the script you'll be prompted to open a URL with your browser, and grant the permission to read/modify BUT NOT DELETE your email.
132
+
The first time you run the script you'll be prompted to open a URL with your browser, and grant the permission to the script:
133
133
134
-
Assuming you wish to proceed you'll get shown a token. Paste that into your console and you're good.
134
+
* The script will get the ability to __read__ your mail.
135
+
* The script will get the ability to __modify__ your mail.
136
+
* The script __will not__ get the ability to delete your mail.
135
137
136
-
However there is another step. The first time you've logged in you'll see an error message:
138
+
Assuming you wish to proceed you'll get shown a token. Paste that into the console which showed you the URL, and you're then good to proceed.
139
+
140
+
However there _might_ be another step, the first time you've logged in you __might__ see an error message:
137
141
138
142
> Error 403: Access Not Configured.
139
143
> Gmail API has not been used in project XXXXX before or it is disabled.
140
144
>Enable it by visiting https://console.developers.google.com/apis/api/gmail.googleapis.com/overview?project=XXXXXX then retry.
141
145
142
-
So do that. And FINALLY youshould be good to go.
146
+
If required do that, it really depends on the setup of the "project", which I'm hazy on. Anyway once you've done that you should be able to actually use the damn tool.
0 commit comments