fix gmail label detection in get_message_list()