fixes #280 so that profile email is updated correctly (both server and client side)