SendGrid (Email)
1. Create a SendGrid account here.
2. After creating an account and verifying your email address, setup and verify your single sender.
3. Once the single sender email has been verified, create a new API Key.
   a. From the Navigation Menu select Settings then API Keys.
    b. Click on the “Create API Key” on the upper right corner of the screen.
    c. A pop-up should appear. Give your API Key a name and select Full Access.
   d. Click “Create & View”.
   e. Copy the API Key that appears on the following screen and click Done. Remember to save it as
       there is no other way to recover that key once you proceed.
       Note: From here, you may also opt to create an email template, From the Navigation Menu
       select Design Library then click “Create Email Design”. After creating an email design, from the
       Navigation Menu, select Email API > Dynamic Templates then click “Create a Dynamic
       Template”. Use the template Id generated on the API request.
4. In OutSystems, either install the SendGrid Connector app from the forge or consume the SendGrid
   REST APIs on your application.
5. To use this component, add your API Key to the header then fill the rest of the request as needed.
    Sample Send Email POST Request (via Postman)
    Endpoint:
    https://api.sendgrid.com/v3/mail/send
    Headers:
    Authorization: Bearer SG.FsqrVQlsRDGyCPCWsgrR8Q.2fv-
    yLlRdIGJx_xqRBOthgKwy0uJ6GM01l4tKM0AmV0
    Body:
    {
    "personalizations": [
         {
              "to": [
                   {
                        "email": "aeronjosephsantos@gmail.com",
                        "name": "Aeron"
                   }
              ],
              "subject": "Hello, World!"
         }
    ],
    "content": [
        {
              "type": "text/plain",
              "value": "Heya!"
         }
    ],
    "from": {
        "email": "aeron.santos@optimationgroup.com",
         "name": "Aeron"
    },
    "reply_to": {
        "email": "aeron.santos@optimationgroup.com",
         "name": "Aeron"
    }
}