set correct ui for mailbox/folder when uploading files