I am connecting to a IMAP server with Python.
I have a UID of a special message.
Is there a way to get the folder name which contains this UID?
Or can a UID/message be in more than one folder? Then, I would like to get the list of folders this message belongs to.
Or I misunderstood something. A UID is always local to an IMAP folder. It is only valid in the context of an folder.
I use ImapClient to connect to an IMAP server. But on this level all languages and their bindungs should be same (my guess).