Script to bulk-update Gmail signatures for Google Workspace.
A good example to get service account credentials from Google Cloud Console.
- https://support.templafy.com/hc/en-us/articles/4707610312221-How-to-set-up-the-Service-Account-required-for-enabling-Gmail-signature-integration-in-Templafy-
- Save the credentials as
token.json
- Copy
template.example.html
totemplate.html
and modify the file. - Copy
users.example.json
tousers.json
and modify the file.
# Build the Docker image
docker build -t gmail-signature .
# Run the script inside a container
cat script.py | docker run -i --rm -v `pwd`:/data -w /data gmail-signature