Count unread emails using MailSocket

we are tray to find some property when you retrive emails with mailsocket conection
somebody know how to filter just unread email messages
Tks

IMAP or POP? Curl or Chilkat?

The IMAP protocol supports what you want. Have a look at https://www.chilkatsoft.com/refdoc/xojoImapRef.html#method68 .

Tks Beatrix we are use pop but we can change i will see your recomendation