Remove system setting mail_check_timeperiod.
Remove 'number of messages to display' system setting.
merged from develop

I also had to do a manual merge for mutate_settings.dyn