I have installed osTicket locally using IIS. Have followed the documentation to setup IMAP and SMTP with a gmail account. SMTP works fine, but I cannot fetch emails with IMAP+SSL. Have enable IMAP via gmail, as well as turning on the fetch emails setting in osTicket.
I have tried fetching from the gmail inbox, or a custom label/folder. I notice that osTicket is creating a custom label in gmail, when I specify a folder to move fetched emails too. So osTicket is talking to gmail, but not fetching the tickets. Why is this not working?