Add email settings to user accounts

@ChrisBr @differentreality please check of sending mails to users on registration dates updates.This fixes #361