In some situation, you may experience your mailbox will get full of used or unused email. To remove email in inbox, it will take long time to do it in Zimbra GUI. Refer to example to below screenshot, i have more than 68000 email in my inbox.
To empty the inbox email, it can be done it via CLI. Below is the command to remove all the inbox message for the particular email account
[root@mail ~]# su – zimbra
[zimbra@mail ~]$ zmmailbox -z -m email@example.com emptyFolder /Inbox
Once above command been execute, it took less than 1 minute to remove 68000 email from the inbox