To change the spam filter in Gmail, you can go to Settings > Filters and Blocked Addresses.