Skip to main content
Version: Current

Send Email

Description

The Send Email activity sends an email message via SMTP, either using the global SMTP configuration defined in the AI Command Center or a specified SMTP connection.


Common Capabilities

Process Data Support

info

This activity supports dynamic configuration using variables from the Process Data drawer.

You can bind values from:

  • Model Data
  • Form Data
  • System Data
  • Enterprise Variables
  • Activity Outputs

Variables can be used directly or inside Liquid or JavaScript expressions where supported.

Learn more → Using Process Data


Design Time Configuration

Display Text

Specifies the activity's display name as shown on the workflow canvas.

Retry Count

Specifies the maximum number of retry attempts if sending the email fails.

  • Minimum value: 1
  • Default value: 30

The activity retries automatically until the retry count is exhausted or the email is sent successfully.

Execution Control (Wait All Incoming)

Controls how the activity behaves when multiple incoming execution paths converge.

For detailed behavior and examples, see   Execution Control – Wait All Incoming.

Error Handling (On Error)

Defines how the workflow proceeds if the activity encounters an error.

For supported strategies (Fault, Continue, Suspend, Retry), see   On Error Handler.

Use Global SMTP Configuration

Determines whether the activity uses the global SMTP configuration defined in the AI Command Center.

  • Enabled (default)   Uses the globally configured SMTP settings.
  • Disabled   Requires an explicit SMTP connection to be selected in Connection Name.

Connection Name

Specifies the SMTP connection to use when Use Global SMTP Configuration is disabled.

This field is ignored when the global SMTP configuration is enabled.

Email Template

Specifies the email template used to compose the message.

  • Select an existing template from the dropdown
  • Click + to create a new email template
  • A preview of the selected template is displayed

The template defines recipients, the subject, the body, the format (HTML or text), and attachments.


Output

Message ID

Returns the message identifier of the sent email, if available from the SMTP provider.


Notes

  • The selected email template must include a valid To address.   If the To field is empty, the activity fails.
  • HTML or plain text emails are supported based on the template configuration.
  • Attachments can be added from the file system.
  • Potentially dangerous file extensions (for example, .exe, .bat, .js, .vbs) are blocked for security reasons.
  • Template fields support variable parsing using process data syntax   (for example: {{ Model.CustomerEmail }}).
  • If sending fails, the activity retries automatically based on the configured Retry Count.