Show HN: Find GitHub Users' Email Address
github.com
github.com
Many people started using my program, and GitHub ended up banning many of them for misbehaving (spamming) other users. I have not updated the code because I do not want to incentivize people to spam, especially IT recruiters, who are not ashamed to use the same tactics to recruit people.
I would encourage @jemmaissroff and everyone else to be mindful and ethical with this type of project.
Not blaming you, of course.
I'm also of the opinion that grabbing people's email through the commit history is at least shady if not outright unethical, even if it's public. Most folks I talk to don't realize that their email is public this way.
I tried recently to productize my version of this tool [1], with the caveat that you can only use to contact folks that tough repos you or your organization owns. It hasn't seen much success so far though.
https://docs.github.com/en/free-pro-team@latest/github/setti...
(Notably, the author of this leaves their address off their profile, but leaves it in their commits. Would emailing them be reasonable?)
The other question is tougher, because I don't think people put their email addresses in their git identities for this purpose. Yet, it's still technically public information. I am not sure what the right answer is here.
Occasionally, those email addresses are used to try and contact contributers to an open source project to check copyright, licenses etc. Sometimes many years later.
I was under the impression that it was a very deliberate choice for git to store/show email, and part of participating publicly in a software project involves attaching a name/email to commits. If one doesn’t want that exposed, then it’s okay to have some junk/null value.
The worst thing would be for some automated software to weaponize this by mining email addresses from git repos and spamming them or selling them to marketers. <this is why we can’t have nice things>
- If there's an "obviously" better forum, prefer that (e.g. a public issue tracker for non-security bugs)
- If I'm likely to have my own git clone (e.g. I'm another developer or security researcher actively interested in the project), go for it! I tend to be fine with inqueries from this audience even if it's not necessairly project related, although bonus points if they are.
- If you were specifically trying to hunt down a point of contact for me and me alone, that's probably fine too. No untargeted and untailored recruiter spam! And likely not as part of a wider recruitment drive, even if you're "tailoring" your recruitment pitches. ...if you're offering me a job specifically to continue working on one of my many abandoned FOSS side projects that you, personally, as another developer have been using - or because we've worked together in the past and want to again - that might be OK ;)
- The recipient might redirect you to other channels they see as better fitting - obviously, respect that if they do.
Anyone who has maintained a reasonably popular open-source project will understand what I mean.
"If you would like to compile GitHub data, you must comply with our Terms of Service regarding scraping and privacy, and you may only use any public-facing User Personal Information you gather for the purpose for which our user authorized it. For example, where a GitHub user has made an email address public-facing for the purpose of identification and attribution, do not use that email address for commercial advertising."
https://docs.github.com/en/free-pro-team@latest/github/site-...
Making an email address public-facing for the purpose of identification and attribution != cold email me. Using an attribution email for the purposes of contacting someone is not an authorized use.
It makes me sad that email as a system has gotten so wildly out of control that users feel the only way to protect themselves is to hide their address. Clearly the spammers have won.
I'm actually surprised there hasn't been more email innovation over the last decade. Surely we can do better here so our reaction to something like this isn't anxiety.
Besides, I feel that gmail and most other webmail providers have created a bad usage pattern for email. Email is much more pleasant when used with an indexing tool (notmuch/mu), custom filters (sieve) and a proper spam filter. Custom domain with dedicated account (or alias) for development also improves the situation.
I put proper contact info in all my projects, if you want to contact me there are other ways, this one has been ruined by cold emailers.
Github also provide a forwarding alias to use instead.