BX.ready(function() {
BX.addCustomEvent('BX.UI.EntityEditor:onInit', (editor, fields) => {
if (editor)
{
const control = editor.getControlByIdRecursive('EMAIL');
if (control)
{
control.getParent().removeChild(control, {
enableSaving: false
});
}
}
});
});