The software is based on a series of rules against which the incoming messages are matched. The built-in wizards will generate the rules for most common uses for you but you can then customize them to suit your particular needs.
You can even create completely new kinds of email services.