Sorry if I ask the question again, there is no way to know if a group mailbox has messages in its mailbox.
Through the console command, I can dump and see if there are any messages, but I want to do an automatic procedure, because I have many groups that I have to keep under control
Thanks Alessandro