Giter VIP home page Giter VIP logo

update-gmail-signature's Introduction

Update GMail signature

A simple utility to update the GMail signature of all users in your G Suite organization

Installation

$ go get github.com/rjelierse/update-gmail-signature 

Usage

To use this program, a valid Google API service account is required. This account should have delegated domain-wide authority to allow changing user details.

You should allow access to these scopes:

  • https://www.googleapis.com/auth/admin.directory.user.readonly
  • https://www.googleapis.com/auth/gmail.settings.basic

Also, you'll need an HTML template to use as a basis for the email signature.

Flags

  • -secret: Set the path the the API credentials file. Defaults to client_secret.json in the directory where the command is executed.
  • -template: Set the path to the signature template. Defaults to template.html file in the directory where the command is executed.
  • -domain: The organization to use when looking up users in the G Suite directory.
  • -subject: The user to impersonate when looking up users in the G Suite directory. This user should have full access to the directory.

Template variables

The following variables are available (for now):

  • Name: the full name of the user
  • Title: the job title in the primary organization
  • Mobile: the phone number marked as 'mobile'
  • Address: the address marked as 'work'
  • Phone: the phone number marked as 'work'

update-gmail-signature's People

Contributors

rjelierse avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.