Hello,
Is there any way we can change the contact email of a player in cloudscripts? I don't see ways to modify the player profile through the server API, and found no equivalent to the client AddOrUpdateContactEmail method.
The reason we need this: in our game players need to register with an email account. We first create their account with PlayFabClientAPI.AddUsernamePassword, and would like the server to copy that same email address as the contact email. We will then send an email to users that just created their account. The workaround we're using at this point is to have the client call AddOrUpdateContactEmail after creation of their account, which is somewhat riskier. Ideally we would keep this logic on the server and not have to handle clients that didn't successfully update their contact email for whatever reason.
Thank you!