It looks like you're using the email address as the input name. PHP rewrites '.' in an input name to '_', so instead of
$_POST['a@b.c']
the option will be
$_POST['a@b_c']
.
Try this instead:
...
if(isset($_POST[str_replace('.','_',$email)])!=NULL)
...