Replace $USER with the actual cPanel account username (the cPanel user, not the domain).

If this does not help, log out of cPanel and delete the email_accounts.yaml and email_accounts.cache files from the cPanel account's .cpanel directory. The files will automatically be created the next time you log into cPanel.

If neither of these actions solves the problem, please submit a ticket so that we may look at your server directly.