Tickets do not get created from IMAP mailbox

I have been trying for some time to get tickets created by email with no success.
The emails are marked as read in the mailbox but never processed in trudesk.
It is a standard IMAP mailbox (dovecot server)
Trudesk is version 1.2.9 on a fresh portainer stack (re-installed multiple times) and tested on a clean Ubuntu 20.04LTS install using the installation script but I keep getting the same errors.
I have confirmed connection to mongo DB and listed tickets directly from the mongo shell but nothing is in the tables.
For what it is worth elasticsearch is also in sync.
I enabled development mode to try and get more logs but nothing helpful is shown the log just stops at “Processing 1 Mail”
I have tried sending from different accounts.
I have enabled “Create Account” under mailer settings (accounts do not get created)
I have registered a customer and sent from the same customer’s mailbox
I have also tried sending HTML and plain text messages but results are the same
I have tried searching the forum for a solution but one has not been forthcomming

09-25-2023 19:26:15 [136] info: . .o8 oooo
09-25-2023 19:26:15 [136] info: .o8 "888 888 09-25-2023 19:26:15 [136] info: .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo 09-25-2023 19:26:15 [136] info: 888 888""8P 888 888 d88’ 888 d88' 88b d88( “8 888 .8P’
09-25-2023 19:26:15 [136] info: 888 888 888 888 888 888 888ooo888 "Y88b. 888888. 09-25-2023 19:26:15 [136] info: 888 . 888 888 888 888 888 888 .o o. )88b 888 88b.
09-25-2023 19:26:15 [136] info: “888” d888b V88V"V8P' Y8bod88P” `Y8bod8P’ 8""888P’ o888o o888o
09-25-2023 19:26:15 [136] info: ==========================================================================
09-25-2023 19:26:15 [136] info: trudesk v1.2.9 Copyright (C) 2014-2023 Chris Brame
09-25-2023 19:26:15 [136] info:
09-25-2023 19:26:15 [136] info: Running in: development
09-25-2023 19:26:15 [136] info: Server Time: Mon Sep 25 2023 19:26:15 GMT+0200 (South Africa Standard Time)
09-25-2023 19:26:16 [136] info: Connected to MongoDB
09-25-2023 19:26:18 [136] debug: Checking Default Settings…
09-25-2023 19:26:18 [136] debug: Timezone set to Africa/Johannesburg
09-25-2023 19:26:18 [136] debug: Registering Permissions…
09-25-2023 19:26:18 [136] debug: Initializing Elasticsearch…
09-25-2023 19:26:18 [136] info: Elasticsearch Running… Connected.
09-25-2023 19:26:18 [136] info: SocketServer Running
09-25-2023 19:26:18 [136] debug: Starting MailCheck…
09-25-2023 19:26:19 [136] debug: Building dynamic sass…
09-25-2023 19:26:19 [136] debug: MailCheck: Nothing to Fetch.
09-25-2023 19:26:19 [136] info: Trudesk is now listening on port: 8118
09-25-2023 19:26:19 [136] info: trudesk Ready
09-25-2023 17:26:20 [149] debug: Pulled 0
09-25-2023 17:26:20 [149] debug: Cache Loaded
09-25-2023 19:26:41 [136] debug: User successfully connected: xxxyyyzzz
09-25-2023 19:26:48 [136] debug: MailCheck: Nothing to Fetch.
09-25-2023 19:27:35 [136] debug: Processing 1 Mail