Set tree structure for MailSettings