It handles them exactly as you describe.
They didn't have them when I first joined a few years ago but, when they added them, they did it the right way.
Coupled with the fact that you can use anything you want before the @, it makes for a very powerful way of organizing your mails.