add accessors for mailSender and fileRoot