I want to sent an invite to GitHub user to join any particular team in any Organization based on email id.
Currently, I am able to sent an invite for same but using GitHub Username using Octokit Library method
AddOrEditMembership(id, name, role)
Is there any function(Octokit library) or API which will help to sent an invite using Email Id