json_schema: {
      "properties": {
          "emailDetails": {
              "properties": {
                  "attachments": {
                      "items": {
                          "properties": {
                              "filename": {
                                  "type": "string"
                              },
                              "path": {
                                  "format": "uri",
                                  "type": "string"
                              }
                          },
                          "type": "object"
                      },
                      "type": "array"
                  },
                  "bcc": {
                      "items": {
                          "type": "string"
                      },
                      "type": "array"
                  },
                  "cc": {
                      "items": {
                          "type": "string"
                      },
                      "type": "array"
                  },
                  "from": {
                      "type": "string"
                  },
                  "html": {
                      "type": "string"
                  },
                  "subject": {
                      "type": "string"
                  },
                  "to": {
                      "items": {
                          "type": "string"
                      },
                      "type": "array"
                  }
              },
              "required": [
                  "to",
                  "from",
                  "subject",
                  "html"
              ],
              "type": "object"
          },
          "params": {
              "properties": {
                  "companyName": {
                      "type": "string"
                  },
                  "firstName": {
                      "type": "string"
                  }
              },
              "required": [
                  "firstName",
                  "companyName"
              ],
              "type": "object"
          }
      },
      "type": "object"
  }