GMail Labels are just IMAP Mailboxes

I’m going to be using them in VB.Net to process a GMail inbox. In GMail they use Labels instead of folders. Are the labels that belong to an email visible via your tool?

Ideally the VB application would process the inbox, and perform actions based on the label.

I investigated and it refreshed my memory. GMail “labels” are just IMAP mailboxes. You can refer to the samples at for VB.NET –> IMAP. You’ll find examples that list the mailboxes on the server. If you run it, you’ll see the labels listed. For example:

[Gmail]/All Mail
[Gmail]/Sent Mail