Merge pull request #22 from clochix/master

HTML emails
Refactoring: rename left/right to main/detail