$folder->clear_label(label)
folder
label
Deletes the association with label for all messages in the folder. Returns the number of messages for which there was an association.