Metadata Extraction - EML

An EML file is an email message saved by an email application, such as Microsoft Outlook or Apple Mail. It contains the content of the message, along with the subject, sender, recipient(s), and date of the message. EML files may also store one or more email attachments, which are files sent with the message.


Configuration

To use this task go to the task tab in your job. Select the task from the drop down and click the plus circle to configure the task. Click done after making any changes to save.

Condition check

It will execute the task when the condition's result is 'true', 't', 'on', '1', or 'yes' (case-insensitive), or run on all conditions if left empty. This condition is evaluated for each document, determining whether the task should be executed based on the specified values.

Example: If I only want to run this task for PDF documents I would use the expression: equals('#{rd.mimetype}',"application/pdf")

This task extracts metadata from emails and adds as fields to the repository document. These extracted fields appear as:

  • Email.Subject: The subject line of the email.

  • Email.From: The 'from' line of the email.

  • Email.To: The 'to' line of the email.

  • Email.Body: The body of the email.

  • Email.CC: The CC line of the email.

  • Email.BCC: The BCC line of the email.

  • Email.EmailList: Space separated list of To, From and CC addresses.

  • Email.InternetMessageId: The message ID of the email.

  • Email.Size: The size of the email.

  • Email.HasAttachments: Whether the email has attachments or not.

  • Email.Attachments: Comma delimited list of email attachments by name. Blank if none.

  • Email.AttachmentCount: The number of attachments in this email.

  • Email.DateTimeSent: The date time the email was sent.

  • Email.DateTimeCreated: The date time the email was created.

  • Email.LastModifiedTime: The modified date time of the email.

  • Email.DateTimeReceived: The date and time the email was received.


API Keys

Processor: EMLMetadataExtractionTask

Key

Display Name

Type

use_condition Check a condition before executing this task. Boolean

task_condition

Condition

String

task_stop_proc

Stop Processing

Boolean