If so, what would be the rule or way of doing it?
Normally, code modification like this is not in scope of support. I worked on quick modification for you. You can get this file, unzip it, upload to folder components/com_osmembership/helper folder on your site
After that, edit the email field, set Server Validation Rules to email_pepepe, then try again. It should work