To make the email field on Live Chat widget registration page optional,
Navigate to Omnichannel > Livechat appearance > Registration Form and disable the Show email field
Then go to Omnichannel > Custom Field and create an email field with the required button disabled.