To come back to the original question, I am trying to achieve the same thing: change a user email. However I am trying to do this via the API.
Looking at the documentation it seems possible via: users/:username/preferences/email
However looking at Discourse code it seems that this will trigger a job to send a confirmation email to the user. Is there a way to change a user email without the user confirmation?
Even if it’s a hacky way, I REALLY need to do it and I would like to avoid changing the value directly in the DB…