The best way to change Gmail's spam settings is by manually sorting out your emails, but you can automate some tasks too.
To set up a Gmail out-of-office reply, go to your Settings and set a start date, end date, and message.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results