Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Creating an Email channel

Updated on February 10, 2023

Ensure that your Email channel has integrations with necessary email accounts, and is properly configured for your system, for example, to support multiple languages and display your organization's unique branding in outbound emails. As a result, you ensure that users have an additional way to communicate with your application to ask for help or solve an issue.

For example, by creating an email bot for a travel agency you can help users book a flight by interacting with your application just by using email.
Before you begin: Set up an email account that you will use for the email bot. For more information see Configuring outbound email in App Studio.
  1. In the navigation pane of App Studio, click Channels.
  2. In the Create new channel interface section, click Email.
  3. In the Email channel name field in the Details section, enter a name for your Email channel.
  4. Optional: To explain the purpose of your email bot, in the Description field, enter a short description for the email bot.
  5. In the Email handling section, click Add email account, and then select an email account.
    You set up at least one email account for the Email channel so that users know which email address to send their requests to the email bot.
  6. Optional: To verify that you can use the email account that you selected, click Verify.
    For more information about troubleshooting email integration settings for the Email channel, see Troubleshooting email accounts in the Email channel.
    Result: If the email account verification fails, you can view information about the reason why the process failed by clicking a link.
  7. If you want to define additional email accounts for the email bot, repeat steps 5 and 6.
  8. Optional: To embed case identifiers in the email subject, in the Additional settings section, select the Display case ID in subject checkbox.
    By default, the email bot uses a secure threading mechanism by embedding an encrypted security code in the email body to track emails replies from customers and other stakeholders in the correct email thread for a triage case. However, if your organization requires that emails display case identifiers in the email subject, you can enable this option. For more information, see Email triage process.
  9. Optional: To enhance how information is presented in emails and triage cases and to enable rich HTML text for the email bot, in the Additional settings section, select the Allow rich text (html) in emails checkbox.
    Enabling this option enhances how important information in the email is presented in the system, for example, in triage cases displaying conversations details from users.
  10. In the Additional settings section, in the Reference operator list, select a reference operator for your email bot.
    You select a reference operator so that the system automatically assigns the email triage case to a unique Pega Platform operator when an exception occurs. A reference operator is a Pega Platform user on behalf of whom service mails are created in the system.
  11. In the Languages list, select the languages in which the email bot interacts with users.
    You select the languages in which the email bot processes emails so that the system can perform text analysis and provide automatic responses in the correct language. By supporting multiple languages in an email bot, you increase the availability of your application to users who speak different languages. You configure reply email templates for each language separately.
    Note: By editing the pyGetDefaultLanguage data transform rule for the Data-Channel- class, you can select a default language other than English to use when creating an Email channel. For more information, see Overriding the default language for an Email channel.
  12. In the Outbound email template list, select a template for the system to use for outbound emails.
    For example: Select the Cobalt outbound email template so that the system always sends a reply emails from CSRs and acknowledgment emails from email bot that include a company logo on a blue background.
    You select an outbound email template so that email interactions with customers and other stakeholders have a consistent look and feel that represents the unique brand for your organization. The system provides you with three built-in templates. The Cobalt template uses a solid blue header with a light-colored logo and the system displays email threads in separate bubbles with the same blue top border. The Classic template uses a darker color logo on a gray background and the system displays the email threads in separate bubbles with a white background. The Clear template does not use any visible styles.
    Note: You can also create custom outbound email templates that you later select from the Outbound email template list. For more information, see Creating outbound email templates.
  13. Optional: To fit your business needs, modify the selected outbound email template:
    1. Click Edit template next to the Outbound email template list.
      Result: The system displays the outbound email template rule in Dev Studio.
    2. Modify how the template looks by changing the email background color, logo, header, body, and footer information.
      For example: You can replace the default logo that is displayed in the template with a logo for your company and also optionally change the background color to green.
    3. Save the outbound email template rule that belongs to a locked ruleset to an isolated sandbox so that you can test your changes, by clicking Private edit.
      For more information, see Performing a private edit.
    4. Save the outbound email template rule to a ruleset by clicking Save as.
    5. Click Back to Pega App Studio.
  14. Click Save.
For example:
Email channel configuration for bank loan requests
The configuration tab for email channels showing configuration of a bank loan request email.
What to do next: Define Email channel behavior for the email bot. For more information, see Defining Email channel behavior.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us