various fixes including emails sent to all users