def labels(self, require_unicode=False): keys = self.mailboxes.keys() if require_unicode: keys = [decode_utf7(key) for key in keys] return keys
def external_name(self, value): if "external_name" in vars(self): del vars(self)["external_name"] self.name = decode_utf7(value)