Collect the email address of users affiliated to a given repository
pip install github-email-collector
git submodule add https://github.com/LucBerge/github_email_collector.git
git submodule update --init
From your python script
from github_email_collector import EmailCollector
email_collector = EmailCollector("MY_GITHUB_TOKEN", "owner/repo")
emails = email_collector.get_emails()
print(emails)