This command help with your spam/invalid email.
Replace username with your cpanel user name.
Then run this command.
Command for suspend- whmapi1 suspend_outgoing_email user=username
Command for unsuspend- whmapi1 unsuspend_outgoing_email user=username
