Yandex.Mail can automatically handle incoming emails using filters you set up:
Attention. The specified filters will only be applied to new emails. Emails that are already in your mailbox are not processed automatically. If you want to apply a filter to existing emails, click Apply filter to existing messages on the page where you create and edit filters.
If you encounter any problems, see the following Help sections: