Logo
  • Products
    • SecOps Studio
  • Solutions
    • Pega Stack Shifter
  • Services
    • Pega Enablement
    • Pega Modernization
  • About
  • Contact
  • Blog
Code Vault

Sending Outbound Emails from Pega

March 2, 2026 Editorial Team

In this blog article, we will see how we can send an outbound email from a Pega application.

This is the continuation of the previous blog article, where we created an Microsoft Graph Email Account in Pega

Requirement: As soon as a new Mortgage request is created, the case manager should be notified about the mortgage case creation.

Pre-requisites to test the outbound email.

a) Create correspondence rule – that can hold the email body

I created a simple correspondence rule – Mortgage case creation.

The correspondence was created of type email and also dynamic ingests the property value in the email body as shown above.

b) Case Manager Operator

Make sure you have a Case manager operator with the right email ID configured. I am using pegaknowledgesharing@gmail.com as the case manager email address.

Also for my current operator, I added the case manager operator as pyReportTo.

c) Case manager as workparty

We will send the email via OOTB activities and for that we will use the Case manager as the workparty.

Enjoying this content?

Access the author’s full video courses here at MyKnowAcademy.

Explore Courses →
Author

I already did the configuration in the workparty blog article.

Below is my configuration for the workparty configuration.

I should also see the Workparty details appended with the case on creation!

Now my pre-requisites are ready. Let’s go to the testing part.

What are the different ways to send out an outbound email?

Pega provides a lot of OOTB ways to send out an outbound email.

Advanced flow shape – send email

You can add a send email automation step from the case designer, that inturn adds the flow shape in the process flow rule.

Step 1: Add the automation shape in the Mortgage case.

Step 2: Configure the Send email step.

In the Send to, we have different options and we will use sending to Case Participants options and then choose the Case Manager.

Now the email content, You can specify the Subject and compose a custom email body directly or refer the correspondence rule directly. We will use the latter option.

You can also include the case attachments if needed.

Step 3: Test the Send email step.

Now Save the case type and create a new Mortgage request case.

As a first step, you can already the email attachment with the case.

You also see the email is received successfully in the gmail client

Before ending this blog article, let’s also understand the architecture behind this send correspondence part.

How Pega send out the outbound email?

An important thing to note is Pega always sends the email in asynchronous way so that nothing gets blocked from user portal (in case of any error).

Repeat the same steps, but just switch on the tracer at the time of sending the email.

1. Activity – SendSimpleEmail which is responsible for sending out the email.

The SendSimpleEmail activity accepts an important parameter called batchsend = true/false.

The activity step saves the correspondence instance into database table if a the email to be send via batch mode

2. Data-Corr-Email  class instance – This is where Pega saves the corr email instance

Here you can also find all the email content attached to this instance

3. Standard Agent – SendCorr, which takes care of background processing to send out the email

Make sure this OOTB agent is running from your admin studio 😊

That ends this blog article!

  • email-processing
  • pega-integration
Editorial Team

An insightful team dedicated to empowering the Pega ecosystem with in-depth knowledge, guided by Premkumar Ganesan's vision.

Post navigation

Previous
Next

Pega Courses

Pega courses can be accessed at https://myknowacademy.com

Search through the blog

Tags

activity authentication background-processing case-management data-model declarative-processing email-processing file-processing pega-core-concepts pega-integration process reporting security system-administration user-interface validation

Categories

  • Career
  • Code Vault
  • Insight

Recent posts

  • Thinking About Booking Tickets for PegaWorld ’26?
  • The One Skill That Can Improve Your Pega Proficiency Faster
  • Should Experienced Pega Professionals Still Go for Pega CLSA Certification?
  • My Honest Take on Pega Constellation
  • Different Ways to Create Cases in Pega at Runtime

Related Articles

Code Vault

Service REST – Usage and Configurations in Pega

December 18, 2024 Code Vault Curators

First of all, don’t think INTEGRATION is a difficult topic in PEGA. I would say Integration is much easier than creating an activity rule. Pega makes it simple for developers. All you need to do is configure the Integration rules. Pega takes care of the rest. Pega provides useful wizards and guides the developers in […]

Code Vault

Service Email Usage – Handle DSN

December 10, 2024 Code Vault Curators

In this final installment of our series, we will explore how to manage Delivery Status Notification (DSN) messages within Pega. Note: This article was developed using Pega 7.4. While specific configurations may vary in newer versions, the fundamental concepts remain applicable. Series Roadmap To fully grasp the progression of Pega email integration, consider reviewing the […]

Code Vault

Service Email Usage – Manage Conversations

December 10, 2024 Code Vault Curators

In this blog article, we will explore our third use case: Managing Email Conversations within Pega using Service Email Note: This article was created using Pega 7.4. While configurations may differ in more recent versions, the core concepts remain the same. Series Recap To get the most out of this series, I recommend visiting these […]

Code Vault

Service Email Usage – Approval Flow

December 10, 2024 Code Vault Curators

This second article in our series focuses on a powerful automation feature: Email Approvals. We will explore how to notify users of a pending approval via email and, more importantly, how Pega processes their “Approve” or “Reject” reply to move the case forward automatically using the same Service Email rule. As a recap, we are […]

About

MyKnowTech was born with a mission to bridge the gap between technical expertise and business needs. We are a boutique firm specializing in Pega solutions, delivering them with a personal touch. At the heart of our philosophy is a commitment to putting clients first.

Company
  • About
  • Leadership
  • Career
  • Contact
Resources
  • Blog
  • Services
  • Solutions
  • Insights

©  MyKnowTech B.V. All Rights Reserved.

  • Sitemap
  • Terms & Conditions
  • Privacy Policy