Service 'mailstorage' SP1

Valid for: enaio Add-In NG Version 8.50 SP1 SP1

The fields of e-mail document types are assigned to aliases of the 'extraction' service via the configuration of the 'mailstorage' service.

In addition, a field is specified that will be used to manage the location of an e-mail object in enaio. This information can be used from the Outlook Add-In NG to open the location of an e-mail object transferred via the add-in.

The 'mailstorage' service is configured via the configuration file ems-prod.yml, located in the directory \services\service-manager\config\. The additionally installed configuration file contains a default assignment of aliases to the internal field names of an e-mail document type, with the same values that were preset during creation in enaio editor. You need a corresponding assignment for each e-mail document type.

enaio editor will not automatically create a field for the location information. The field for the 'Open location' function must be created manually: text field, at least 50 characters.

Configuration file
mapping  
emsTypes:  
- name: "Email"

Name of the e-mail document type

A section with assignments will be created for each e-mail document type.

internalName: "EMAILTYPE" Internal name of the e-mail document type
mainType: 6

Optional: E-mails can also be assigned to cross-module document types. To ensure that they still behave like e-mails, i.e. are opened in Outlook and not checked out, the main type '6' can be assigned.

deduplicationContext:  
internalName: "MAIL_DIGEST" Internal name of the field for the location information and the 'Open location' function
mode: NONE Currently has no function
mappingFields:  

- internalName: "MAIL_FROM"

extractionName: "OS:MailFrom"

Assignment of the internal name of the 'From field' to the alias 'OS:MailFrom'

- internalName: "MAIL_TO"

extractionName: "OS:MailTo"

Assignment of the internal name of the 'To field' to the alias 'OS:MailTo'

- internalName: "MAIL_CC"

extractionName: "OS:MailCc"

Assignment of the internal name of the 'CC field' to the alias 'OS:MailCc'

- internalName: "MAIL_SUBJECT"

extractionName: "OS:Subject"

Assignment of the internal name of the 'Subject field' to the alias 'OS:Subject'

'OS:Subject' corresponds to the 'Conversation' field in Outlook.

The 'Subject' field in Outlook corresponds to the alias 'OS:Title'.

- internalName: "MAIL_BODY"

extractionName: "OS:MailBody"

Assignment of the internal name of the 'Message field' to the alias 'OS:MailBody'

- internalName: "MAIL_SUBMIT_TIME"

extractionName: "OS:MailDate"

Assignment of the internal name of the 'Date field' to the alias 'OS:MailDate'

After changes are made to the configuration file ems-prod.yml, the 'mailstorage' (EMS) service must be restarted via enaio services-admin.