Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Mail Message - Expand Attachments

Mail Message Command Grooper.Messaging

Bursts out the individual components of a mail message and saves them as children of the mail message.

Remarks

Extracts the main body, attachments, and inline images from the mail message, saving each as a child document under the Batch Folder.

  • Use this command to break out the contents of an email for downstream processing, review, or export.
  • The command supports flexible extraction options via its viewable properties.

Viewable Properties

  • BodyExpansion: Controls how the mail body is extracted.
    • None: Do not extract the body.
    • Prefer_Text: Prefer plain text body; fallback to HTML if not available.
    • Prefer_HTML: Prefer HTML body; fallback to plain text if not available.
    • Text_HTML: Prefer plain text; fallback to HTML, but always save as text.
  • ShouldExpand: When true, extracts all attachments as child documents.
  • ExpandInlineImages: When true, extracts inline images embedded in the mail body.

Usage Notes

  • Each extracted part (body, attachment, or inline image) is saved as a separate child document.
  • Use in workflows where you need to process, classify, or extract data from individual mail parts.
  • If neither the body nor attachments are configured to be expanded, validation will warn the user.

Properties

NameTypeDescription

See Also

Notification