Remove unused html of template contacts/details
New Email model structure

Messages now inherit from HistoryListItem and are no longer abstract so
polymorphism works again. Notes will ultimately also inherit from
HistoryListItem but that is not yet implemented