-
Select Topic AreaQuestion BodySearched through the API doc but I couldn't find it. My sponsoring perks include digital access to certain stuff, so I have to send them the accessing link individually. The current "Send Email Update" won't work, because it's sending the email to everyone. The GraphQL of the below appears to be grabbing public email address. query {
user(login:"raenonx") {
... on Sponsorable {
sponsors(first: 10) {
totalCount
nodes {
... on User {
login,
email,
}
... on Organization {
login
}
}
}
}
}
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
There is no way to access a sponsor's private email address! You shouldn't even try to find one because it doesn't exist 100%! The email field in the GraphQL API only returns the publicly visible email address set in the user's profile, you should satisfy yourself with that. Alternative and I would say the right solution for you problem is maybe to update your sponsorship process by letting your sponsors know about those perks. You can ask them to provide their email addresses during the sponsorship process, maybe something like asking them to email you after they sponsor you, or you could set up a form that they should fill out where you would collect the addresses. And make sure to be careful with someone's privacy, people find that really important. Hope this helps. 🍺 🍀 |
Beta Was this translation helpful? Give feedback.
-
I see, thanks!
…On Mon, Nov 13, 2023 at 3:44 AM Mirko Basic ***@***.***> wrote:
There is no way to access a sponsor's private email address! You shouldn't
even try to find one because it doesn't exist 100%! The email field in the
GraphQL API only returns the publicly visible email address set in the
user's profile, you should satisfy yourself with that.
Alternative and I would say the right solution for you problem is maybe to
update your sponsorship process by letting your sponsors know about those
perks. You can ask them to provide their email addresses during the
sponsorship process, maybe something like asking them to email you after
they sponsor you, or you could set up a form that they should fill out
where you would collect the addresses.
And make sure to be careful with someone's privacy, people find that
really important.
Hope this helps. 🍺
🍀
—
Reply to this email directly, view it on GitHub
<#75344 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEMW3X3ETQABEPHVCW2DXCTYEHTXNAVCNFSM6AAAAAA7IYSK4SVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TKNJRHE3DM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
There is no way to access a sponsor's private email address! You shouldn't even try to find one because it doesn't exist 100%! The email field in the GraphQL API only returns the publicly visible email address set in the user's profile, you should satisfy yourself with that.
Alternative and I would say the right solution for you problem is maybe to update your sponsorship process by letting your sponsors know about those perks. You can ask them to provide their email addresses during the sponsorship process, maybe something like asking them to email you after they sponsor you, or you could set up a form that they should fill out where you would collect the addresses.
And make sure to be c…