Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gmail labels colour changing via javascript or gmail api in web UI

Is there any way to change the gmail label colors ?

I replicated the gmail call by passing the same parameters which causes colour to change ,but it doesn't seem to work.

Is there any way if I could do it by gmail api ?

like image 552
Jitin Maherchandani Avatar asked Jul 20 '26 19:07

Jitin Maherchandani


2 Answers

You cannot change the color of labels in the Gmail UI with the Gmail API.

The only things you can change with a modify request is labelListVisibility, messageListVisibility and name.

like image 105
Tholle Avatar answered Jul 22 '26 09:07

Tholle


You could use a Browser Extension and modify the DOM.

Similar approach is used with https://www.inboxsdk.com/

like image 45
PNC Avatar answered Jul 22 '26 10:07

PNC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!