better performances for checkemails.php: only retrieve unseen emails headers.