Earlier quoted context omitted.
I understand copyright - you created source code, placed it online, didn't apply an open source license to it, so those accessing it have no right to "make use" of the code. What's the mechanism by which an email address found on a public website shouldn't be used to send email? Who decided on this social policy? I've been on the internet with email since about 1995 and this is the first time I've heard it suggested…
It’s called the law ;) I’m a EU user and article 5 and 6 of GDPR is pretty clear about this.
Further, how would these articles of GDPR apply in this case? GitHub makes no representations about keeping your public data private. Please also suggest interpretation of specific parts of these articles that cover the recruiter collecting and making use of public information.