get uid summary gmail controlling javax.mail imap


i'm controlling javax.mail collect mails gmail controlling imap. i wish also obtain tags being receptive any mail, i'm iterating over folders store (which indeed tags) downloading mails any other.



i controlling slight imapfolder obtain uid any message, following review recognize same mail along opposite folders.



for example, i mail "hello" tagged "a" "b", i iterate by folders "inbox", "a" "b" same mail any folder; i keep unparalleled duplicate tagged "inbox", "a" "b".



however, getuid slight advantage folder-relative id, same mail competence have opposite ids opposite folders, opposite mails competence have same id opposite folders. example. "hello" competence seem mail 1 "a" mail 2 "b".



is there proceed receiving store-relative id any mail, individualist folder? improved proceed obtain tags trustworthy unparalleled mail?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members