Using email info in Switch

A key feature of Switch is the ability to attach email information to the jobs that are being processed and use this info to send notifications or receipts.

For example:

"Email info" in Switch refers to both (a list of) email addresses and body text. This information is stored in the job's internal job ticket, so it can move along the Switch flows as metadata and be retrieved through variables ([Job.EmailBody] and [Job.EmailAddress]).

Note that Switch combines new email information with any email information already present. Email addresses are added to the list, and body text is appended to what's there (inserting a line break if needed). Existing email info is never removed.

The following topics explain how you can attach email info to a job in Switch and how this info can be used to send the appropriate email message to the appropriate recipient. This is also illustrated in the following example flow:





  1. Email info is attached when the job comes in. In this example, jobs are submitted via a Submit point and for example the email address of the user submitting the job is attached.
  2. Extra email info is attached when the job is moving along the flow. In this example, the preflight status is added as email info.
  3. The attached email info is used when (part of the) processing is finished to notify operators, customers or sales representatives. The Mail send tool is needed to send the notifications.