Skip to content

Instantly share code, notes, and snippets.

@evanlinde
evanlinde / mbox2gg.py
Last active January 27, 2024 00:37 — forked from pecigonzalo/mbox2gg.py
mbox to Google Groups
#
# Import an mbox file into Google Groups using the Groups Migration API
#
# To run this script, you will need to:
# 1. Be an admin on your domain
# 2. Enable API access in your domain
# 3. Create a project on the developer console
# 4. Activate the Groups Migration API for the project
# 5. Create an OAuth Client ID and Secret for the project
# 6. Install the google-api-python-client and google-auth-oauthlib