Changed label in writeProperties method from MailConfig to Database
properties