get messages to folders(wip)