Skip to content

Gateway for adding users to Google Workspace groups. Implements the mailing list sign-up flow.

Notifications You must be signed in to change notification settings

WATonomous/mailing-list-gateway

Repository files navigation

mailing-list-gateway

A simple service to ask for user confirmation before adding them to a mailing list. Currently, only Google Groups is supported.

Getting started

  1. Populate .env with your configuration. An example is provided in .env.example. The default configuration is suitable for development.

    cp .env.example .env
  2. Obtain a Google Cloud Service Account key and save it as ./secrets/google-service-account.json.

    1. Create a Google Cloud project.
    2. Create a service account under the project with no roles.
    3. In the Google Admin console, give "Groups Editor" role to the service account.
    4. Enable the Admin SDK API in the Google Cloud project.
  3. Start the service.

    docker compose up --build

Now, you can view the API spec at http://localhost:8000/docs. If you are using the default SMTP configuration, you can view outgoing emails at http://localhost:8025.

About

Gateway for adding users to Google Workspace groups. Implements the mailing list sign-up flow.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages