It's about refactoring. So please have a look at mutt.py in the mozmill repository.