Search code examples
.netgmailgoogle-appslabelgmail-imap

Is there a way to programmatically show all gmail labels in IMAP?


Assuming I have access to the user's account, and an administrator account on the domain, is there a way to enable the all of the labels in IMAP (to be more precise "showing" them in IMAP under the Labels).

I've looked through the google api here, but you can only change IMAP settings (On/Off).

Note: If it is necessary, the user could provide the password for their accounts.

Thanks for your time.


Solution

  • Sorry, There is no programmatic method to toggle the show/hide in IMAP setting of a label.