Email credentials are saved as encrypted in the configuration file.   Task schedule credentials are not saved in the configuration file.