Despite the rise of so many other digital channels, email continues to be one of the most popular means of communication among customers. There were over 3.8 billion registered email users in 2018, according to Lifewire, which means half of the global population is accessible via email!
Example : A customer who hasn't purchased a product over a period of time could receive we miss you! Email.
In the early days of your business, it might be feasible to identify leads/customers using website analytics and then manually to send out communications to each customer.
However, as your business grows and your audience begins to expand, email marketing automation is an absolute must-have. It lets you spend more time on framing and designing the best possible communication.
Invest time in personalization: With your email marketing team now free from iterative activities; you can turn your attention toward strategic areas such as personalized emails. There are two types of personalization:
Do more with less : Several case studies and examples of email automation prove that it takes less effort to deploy an automated email campaign, compared to a manual pipeline.
Even if you invest a significant amount of time on personalization, workflow configuration, platform setup, data analysis, etc., you're still saving on non-value adding marketing efforts.
Scale your marketing strategy with minimal effort: If you're dependent on manual efforts, your customer reach will be directly linked to the size of your marketing team.
Example: If everyone in your dedicated email marketing team can send 50 messages a day and you have a 10-person team, that means you cannot scale beyond 500 customers. Email marketing automation, on the other hand, predefines a business rule based on which every customer new and old will continue to receive messages from your brand.
UiPath has several activities by default, such as:
Create a new process called Email_Automation_Example
Once the process has been opened in the uipath, add the sequence to the designer pane and then add Get IMAP Mail Message activity inside the sequence.
In the Properties panel, you will see some of the properties we need to set for IMAP, Enter the server name and port number in the Properties panel and then enter your email id and password in the Email and Password section.
Here, I am creating a new variable
Messagelist_Variable for storing the properties/content from the read from the email, which is nothing but words that are retrieved from Gmail. Search for IMAP settings for Gmail in google, you will find below information:
Next, add For Each activity inside the sequence to read the emails which are coming from the IMAP mails. Set item to Mail messages and enter the variable name as
To set items to Mail Message: Click on the TypeArgument and then select Browser For Types... and then select MailMessage, as shown below.
Next, add Message box activity inside the body of the For Each loop and enter
item.Subject inside the Message box activity, which means that we are going to read only the Subjects of the emails present in the inbox.
Before running the sequence, we have to make some settings in our Gmail account also. Open your email account and go to settings.
Under Settings, select Forwarding and POP/IMAP option and then select Enable IMAP.
Next, go to the security section in your account, The Less secure apps by default will be turned off, make it ON.
Now save and run the sequence in the UiPath Studio. After the execution, the top unread messages will be displayed in the pop-up message box.
Create a new sequence called SMTP_Example
Next, add Send SMTP Mail Messages activity inside the sequence
Next, fill the properties for SMTP, Like
Enter the host address in the server property and then enter the port address in the port property.
Next, enter the To, Subject, and Body of the mail, as shown below.
Now save and run the sequence; after the execution, go to Gmail account and check, you have received a mail with subject Welcome To UiPath Automation.
In this example we are going to extract the messages from the Outlook by using UiPath, Create a new sequence called Get_Outlook_MEssages_Example and add Get Outlook Mail Message activity
Click on Get Outlook Mail Messages and in the Properties pane create a new variable called
Message_Variable in the Messages Property.
Add For Each activity, inside the sequence and set the
item to System.Net.MailMessages and then enter the variable(
Message_Variable) inside the For Each activity, as shown below.
Add the Message Box activity inside the sequence and then enter the
item.Subject in it, as shown below.
Now, save and run the sequence, after the execution, the unread Mails from the Outlook will be displayed one by one in the pop-message box.