I’d like to know how can I get the unread emails and its attachments (from inbox).
Maybe the unread message is not recently sent and I’d like to get all of them.
The technology, isn’t important for me but I prefer to use Imap, because I don’t like to download emails locally.
And at the end, if I read the unread messages, is it automatically change to read email? If no, how can I change its state?