catching invalid emails