Update email regex to unified server side