Hihow to set and where i can found this in osticket i dont wana download old messages from gmail second time. Thi is bug in osticket?
osTicket will download all emails in the main imap folder (inbox). If you do not want it to then you have to delete old emails, or move them to another imap folder.