Updated the Move-Message function to support both labels and mailboxes