fix email format constraints for text fields