fix(core): fix comparison
feat(core): add email validator