Hi, I know that this is a forum for chrome extensions mainly but I hope someone can still help me.
I want to built some super simple tamermonkey script that sents an mail from my gmaila dress to another given adress.
Already got the api key, client id and that stuf (hopefully also correctly setup).
I literally jsut copied the code from the official quick start guide for gmail api+javascript from
https://developers.google.com/gmail/api/quickstart/jsonly intead of having script tags in a html file, I create and inject those script tags into the head with javascript.
no matter what I do, there are always errors of the kind
"Uncaught (in promise) TypeError: Cannot read properties of null (reading 'style')".
What am i doing wrong?
is my code wrong?
or did I mess up when creating the api key and such, so the stuff returned during the requests is nonsense?
Please help me, I'd appreciate it! :-)