Use Case: Email Management

In this Article

Drafting and organizing bulk emails

Problem

In a real business case scenario, creating and sending bulk emails and also organizing them respectively for records is a manual as well as tedious operation. This is time-consuming as there are many requirements which are to be dealt while exchanging and organizing emails. Also, there is always a chance of a human error which could impact customer relations. Automation is the key and here we are with the solution which not only makes the task effortless but also curbs error, maintain records, and have appropriate output to confirm of the task performed.

Solution

Using the Exchange Online Snap Pack, organizations can automate and efficiently manage Microsoft Exchange Online Emails, Events, and Contacts. This Pipeline demonstrates how this can be precisely implemented without any hassles.

Download this solution. 

Understanding the Solution

Here we are looking into a scenario where there are three emails namely, Review Email, Promotion Email, and Confidential Email which are sent by different users to an individual's mailbox. These emails will eventually reach a junction which in Snaplogic is called a Router Snap, that helps in routing the input to specified endpoints. Now, the emails are delivered to three different endpoints through the Snaps, Move Email, Mark Email As Read and Flag Email which have been designated in Snap Settings respectively.

Key Steps

  1. Send emails.
  2. Search emails and categorize to route them to respective Snaps.

Send emails

Here, we send three emails, which are uniquely categorized, to an individual's mailbox. 

We set up a Pipeline using three Send Email Snaps naming them according to their categories, Review Email, Promotion Email, and Confidential Email. We configure the Script Snap to pause the incoming document for ten seconds.

The following portion of the Pipeline will process the emails:

We configure the Snap Settings for all the three Snaps and also preview the output as to confirming about the emails being sent.

Review EmailOutput

Promotional EmailOutput


Confidential EmailOutput

Now, we configure the Script Snap to control the flow of emails delivered from the above three Snaps.

Search emails and categorize to route them to respective Snaps

Here, we search emails with parameters and route them to three Snaps. Categorizing the retrieved emails is performed using Router Snap which documents to output views based by evaluating a given expression. 

On the basis of the categorization, we perform actions on the received emails using Move Email Snap, Mark Email As Read Snap, and Flag Email Snap. 

The following portion of the Pipeline will process the emails:

Let us configure the Search Email Snap to retrieve emails which have been delivered today.

Search Today's EmailOutput

Now we configure Router Snap setting up the Expressions to Output view name to categorize the emails accordingly and push them to appropriate Snaps.

Categorize Email

As per the above step, the email which are retrieved are categorized and sent to three downstream Snaps, Move Email Snap, Mark Email As Read Snap, and Flag Email Snap respectively.

We configure the Snap Settings and preview the output of each Snap as shown below:

Move EmailOutput

Mark Email As ReadOutput

Flag EmailOutput

Hence, we have successfully performed action on each email as we have configured. This pipeline configuration saves time and effort. 

Downloads

  File Modified

File Use_Case_Exchange_Online_SnapPack.slp

Feb 28, 2022 by Subhajit Sengupta