Unable to delete messages in Usermin

SYSTEM INFORMATION
OS type and version Ubuntu Linux 20.04.6
Usermin version 2.400
Virtualmin version 7.40.1
Theme version 25.10
Apache version 2.4.41
Package updates All installed packages are up to date

Failed to delete mail : Got unknown line imap(craig@mydomain.com)<3269958><3RAnEcz72mhG5TEAh0q7VQ>: Info: delete: box=INBOX, uid=12787, msgid=, size=76980, from=WordPress , subject=Wordfence activity for September 29, 2025 on mywebsite.com

I don’t use Usermin much myself preferring an email client but every account/domain I’ve tested to delete an email resulted in the above error. Mail clients (outlook, mac mail, etc) all work fine and messages are deleted w/out issue. Issue only seems to happen when using Usermin.

No changes or anything to the system other than normal updates, been running problem free. Has anyone encountered this before? Suggestions welcome, Thanks!