this repo holds a tool to configure your email depending of your git provider
the resoning is that each provider (github/gitlab) can have a hidden email that doesn’t expose your email outside.
this means that each repo has to have a local setting of user.email
To setup your system is to get tokens for github and gitlab, also we need to set the gitlab hostname to do that copy the file
you should copy it via the command cp env.source.sample env.source and set your environment with the correct values
refer to https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html and choose the read_user permission
refer to https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token and choose the read_user permission
the private email is written in this link https://docs.gitlab.com/ee/user/profile/notifications.html and also https://docs.gitlab.com/ee/user/admin_area/settings/email.html#custom-hostname-for-private-commit-emails