Use Google Apps Scripts + Service Account(s) + Domain-wide delegation + Google API to set G Suite directory users‘ signatures
Your article, Update Gmail Signatures of Employees with Google Apps Script was a great place to get started wrapping my mind around how to set standardized signatures for all of the users in the G Suite domains which I administrate. Please forgive me if I’m mistaken, but I think changes to Google’s various APIs in recent years make the code in the article somewhat deprecated. I’ve spent a whole lot of time trying (unsuccessfully) to build a Google Apps Script which:
- Standardizes the same HTML footer for all the users in my domain
- Allows for per-user variables (e.g. given name, family name, job title, organization)
- Not only sets, but *maintains* standardized user signatures (i.e. after it’s been set by the script, users can’t just go in via the Gmail settings interface and change their signature to whatever they please)
I think this is something that many domain administrators would use widely and appreciate.
Please note that i’m not trying to achieve this functionality using Java, Python, or Go—but rather using Google Apps Script.
My understanding, however is that, in order to get this done, at least the following items are required:
There are a couple of articles out there which have gotten me closer, but not all the way. These include:
Would you consider writing a followup to your original article in order to account for the latest changes to the Google API? If Digital Inspiration can’t do it, nobody can! 🙂
Thanks very much for considering my question!