'Note that this function does not check against dryrun settings,
so you need to ensure that it is never called in a
dryrun mode.'

def addmessageslabels(self, uidlist, labels):

    for uid in uidlist:
        self.addmessagelabels(uid, labels)
