I want to delete the spams in the google account.

Nearly 20 years ago, I used the incredimail - e-mail program. That program was good to delete the spams. Because I can set the rules that the spams are deleted in google’s sever. Then I don’t need to delete the spams in my junk and trash folder everyday.  I hate to see the spams in my monitor.