Send Email task

The Send Email task lets you send custom email notifications from your integration. You can email one or more recipients with a custom subject and a custom message.

Configure the Send Email task

To configure the Send Email task:

  1. In the Apigee UI, select your Apigee Organization.
  2. Click Develop > Integrations.
  3. Select an existing integration or create a new integration by clicking Create Integration.

    If you are creating a new integration:

    1. Enter a name and description in the Create Integration dialog.
    2. Select a Region for the integration from the list of supported regions.
    3. Click Create.

    This opens the integration in the integration designer.

  4. In the integration designer navigation bar, click +Add a task/trigger > Tasks to view the list of available tasks.
  5. Click and place the Send Email task element in the integration editor.
  6. Click the Send Email task element on the designer to open the Send Email task configuration pane.
  7. Configure the displayed fields using the Configuration properties for the task as detailed in the tables below.

    All changes to the properties are saved automatically.

Configuration properties

The following table describes the configuration properties of the Send Email task.

Property Data type Description
Recipients String Email address of the recipient(s). You can specify multiple email addresses separated by a comma.
Subject String Email subject line.
Body String Email body in plaintext.

You can set the properties to any of the following values:

  • A literal
  • An integration variable
  • A combination of a literal and an integration variable

You can enter combinations of literals and integration variables for the string values. Use dollar sign notation for variable names, that is, precede and follow the variable name with a $ sign. For example, if you want to use a variable $varSubject$ in the email Subject, you will enter text similar to Test $varSubject$ where Test is a literal and $varSubject$ is the variable.

Error handling strategy

An error handling strategy for a task specifies the action to take if the task fails due to a temporary error. For information about how to use an error handling strategy, and to know about the different types of error handling strategies, see Error handling strategies.