Change email for SSO user?

I am having the same problem. Is there a way to change the user’s email in the Discourse database? How do I do this from the command line?