change Email

fun changeEmail(onSuccess: () -> Unit)

Function to execute the email change

Parameters

onSuccess

: the action to execute if the request has been successful