In OFBiz history, the first entity used was ProductStoreEmailSetting, for automatic email during ecommerce process and in last time the EmailTemplateSetting for specific notification.
Both entities have the same field : bodyScreenLocation, xslfoAttachScreenLocation, fromAddress, ccAddress, bccAddress, subject, contentType. Just primary key are differents.
To simplify the notification system, I will suggest :
- use only EmailTemplateSetting to edit email configuration
- associate ProductStoreEmailSetting to EmailTemplateSetting
- convert all service and screen that use ProductStoreEmailSetting
- create convert service.
- add contentId on EmailTemplateSetting (or templaceContentId) to use a content for rendering email