add changeEmail and prepare change email APIs