Question: how gmail spam filter works?
Answer: Gmail spam filters automatically move spam email messages (sometimes called junk mail) into users' spam folders. You can't turn off Gmail's spam filters, but you can create filters that: Bypass spam classification for messages received from users on an approved senders list that you create.