add user email notification prefs and txt/html notification handling

todo: create html template
update absolute_url for messages