Update handling of labels in "sync_gmail"