Useful when updating users that might have blank values that need to be updated before their signature is created. Skip updates if any of the fields are NULL, BLANK or don't exist. $mooSig->addSettingStripBlanks(True) User Filters Skip fields (Default = ) Merge fields are in the following format ' when generating the template. You can modify this template and include your own MERGE fields. OR git clone Step 4: Update your signature templateīy default there is a signature template located in "signatures/defaultSig.html".
#GSUITE EMAIL SIGNATURE EXAMPLES INSTALL#
Copy your service-account.json file into the local_vars directory Step 2: Grant Domain Wide DelegationĮnsure that you have granted domain wide delegation through the GSuite console for the following scopes of your service account ', '', '','',' Step 3: Install or clone this repo composer require moometric/gsuite More information can be found on the Google Admin SDK Guide to setting up a service account for your GSuite domain.
Installing Step 1: Create your service accountĮnsure that you have gone through the steps described here to get your service-account.json file.
testUsers.json JSON file is included as an example when fetching users from local source rather than GSuite domain.defaultSig.html template is included, you can add your own templates to the "signatures" directory.Users signatures can be updated direct from the GSuite users directory using standard and custom fields or alternatively from a JSON users file.
Ensure that all your users have a standard signature by updating them using the gmail API.