Fix validate email method