EmailCall.EmailData object

The EmailCall.EmailData object applies to email and includes the following properties.

Property name

Type

Description

From

Read

The sender.

To

Read

The recipients. May be a list of values, separated by comma or semi-colon (;).

To find out the destination of the email, use: $EmailData.To$

Cc

Read

The carbon copy recipients. May be a list of values, separated by comma or semi-colon (;).

Subject

Read

The subject.

BodyPreview

Read

The first three lines of the body as text.

UrgencyIndicator

Read

Email importance setting:

  • 0 — Low
  • 1 — Normal
  • 2 — High
  • 3 — No-change

ReceivedTime

Read

The email arrival time.

SentTime

Read

The email sent time.

Body

Read

The part of the body sent from the MS to the MCS to expose to scripts, especially the Call Arrival script.

Use the CCaaS Admin to disable body fetching, set the body format, and, for text only, set the maximum size. For details, see Adding a folder in the CCaaS Tenant Administrator Help.

KeepBody

Read

Whether and when to delete Body:

  • 0 (default value) — clear on route. Clear MCS memory upon successful call routing to MCS.
  • 1 — delete immediately. For example, if you only want to use Body in the Call Arrival script.
  • 2 — keep. For example, if you want to use Body in the Call Termination script, you need to keep it for the entire call lifecycle.