Giter VIP home page Giter VIP logo

googlemassemail's Introduction

GoogleMassEmail

NOTE THAT TO USE THIS YOU MUST GENERATE A CREDENTIALS.JSON FILE WITH OAUTH CREDENTIALS INSIDE OF A GOOGLE PROJECT AND REPLACE THE ONE THAT I HAVE HERE. Here is a reference on how to do it: Creating project: https://cloud.google.com/resource-manager/docs/creating-managing-projects Creating credentials: https://developers.google.com/workspace/guides/create-credentials

Written to take a google sheet with a list of emails and peoples names, along with a google doc with a message to be sent to all of those people, and mail merge/send emails. Most of the code in this repo is a combination of https://github.com/googleworkspace/python-samples/tree/main/docs/mail-merge and https://github.com/googleworkspace/python-samples/tree/main/gmail/snippet/send%20mail. I simply combined the two and generalized things to make it easy for anyone that wants to send mass emails. Here are a sample sheet and a sample doc to try with this code:

https://docs.google.com/spreadsheets/d/18H2aYiN0_TqobcF7yk2O4t1CzrvHv3aPMxoJ9W-t6Y4/edit#gid=0

https://docs.google.com/document/d/1SawO9t2PZ88qCrD50UR5Ja6xsXnHjCDpk96_s2rInIk/edit

googlemassemail's People

Contributors

wcmears avatar

Watchers

 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.