Let us know, which environment you are using in dev or prod mode.
Also, once you have cleared cache of your project after mailbox setup using the below command:
php bin/console c:c
Once you can setup again delete all setup and after that cleared cache of project. After that try again fetch mailbox command.