For some users in our application, the email field returns NULL even if the user has granted the email access to the app. When we check the scope parameter and the validity
$loginUrl = $facebook->getLoginUrl( array( 'req_perms' => 'email' ) );