MLDS-623 - fix validation of emails