adds mixed case and fixes email regex