checks for e-mail presence and format