How to integrate SendGrid API with UiPath Mail Package

How to integrate SendGrid API with UiPath Mail Package?

Approach #1:
In order to use "SendGrid" API to integrate with UiPath mail packages, SMTP protocol and send SMTP mail message activities can be used in UiPath.

Below steps can be followed:

1.)Login to https://app.sendgrid.com/ if you have account else create one.

2.)Click on "SetUp Guide" option as shown below:

Image_2019-05-20_10-15-11.png

 

3.)Click on first option as shown below:

Image_2019-05-20_10-17-32.png

4.)Click on option shown below:

Image_2019-05-20_10-18-50.png

5.)Now create a new API Key as shown below:

Image_2019-05-20_10-21-21.png

6.)Now in order to send the mail using UiPath mail activities ,pass the below parameters in "Send SMTP Mail Message" properties :

  • Port :465
  • Server:"smtp.sendgrid.net"
  • Email:"apikey"
  • Password:Pass the above generated api key.

Pass the other parameters like To,From,Body etc as per your requirement.

Approach #2 :: 
Another approach is to create a code in python,java etc and invoke it using UiPath activities.Refer below screenshots and  links to know more about this:

 Image_2019-05-20_10-35-27.png

Image_2019-05-20_10-36-06.png