openemail.labels
Folders and labels: create, rename and delete them, update every message in one, and the IMAP-shaped UID and vanished feeds a mail client syncs from.
Its 12 methods, each a page of its own, in the order the API reference presents them:
In the API reference: Labels.