Log into your CPanel page > go to Account Level Filtering.
Select From. Select “matches regex”.
Below “From”, write the e-mail address that you want to ban, for example: “email@example.com”.
Actions: Discard Message.
That is pretty much it.
If you select “From” and “Equals”, it won’t ban the e-mails. You just need to select “matches regex”. It won’t ban other Gmail e-mails.