# Get Notification-Email Settings

Reads a notification email draft's settings, revision and campaign uses, and effectiveSender: the From name, address, reply address and sending domain the dispatch uses, with their source, resolved without sending. Its email ID is distinct from an automation action ID.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "emailId": {
      "type": "integer",
      "minimum": 1
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "emailId"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "emailId",
    "kind",
    "revision",
    "name",
    "subject",
    "senderName",
    "senderEmail",
    "replyEmail",
    "signatureId",
    "contentStatus",
    "editorUrl",
    "usedByAutomationIds",
    "deleted",
    "smartTags",
    "settings"
  ],
  "properties": {
    "emailId": {
      "type": "integer"
    },
    "kind": {
      "type": "string"
    },
    "revision": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "subject": {
      "type": "string"
    },
    "senderName": {
      "type": "string"
    },
    "senderEmail": {
      "type": "string"
    },
    "replyEmail": {
      "type": "string"
    },
    "signatureId": {
      "type": "integer"
    },
    "contentStatus": {
      "type": "integer"
    },
    "editorUrl": {
      "type": "string"
    },
    "usedByAutomationIds": {
      "type": "array",
      "items": {
        "type": "integer"
      }
    },
    "deleted": {
      "type": "boolean"
    },
    "smartTags": {
      "type": [
        "object",
        "array"
      ],
      "additionalProperties": {
        "type": "integer"
      }
    },
    "settings": {
      "type": [
        "object",
        "array"
      ]
    },
    "effectiveSender": {
      "type": [
        "object",
        "null"
      ],
      "required": [
        "senderMode",
        "fromName",
        "fromNameSource",
        "fromEmail",
        "fromEmailSource",
        "replyToEmail",
        "replyToEmailSource",
        "signatureSelection",
        "signatureId",
        "signatureName",
        "sendingDomain",
        "sendingDomainKind",
        "sendingDomainSource",
        "dependsOnContactTags",
        "senderIdentity"
      ],
      "properties": {
        "senderMode": {
          "type": "string",
          "enum": [
            "explicit",
            "account",
            "dispatch_profile"
          ]
        },
        "fromName": {
          "type": "string"
        },
        "fromNameSource": {
          "type": "string",
          "enum": [
            "email",
            "account",
            "signature",
            "account_fallback"
          ]
        },
        "fromEmail": {
          "type": "string"
        },
        "fromEmailSource": {
          "type": "string",
          "enum": [
            "email",
            "account",
            "signature",
            "account_fallback"
          ]
        },
        "replyToEmail": {
          "type": "string"
        },
        "replyToEmailSource": {
          "type": "string",
          "enum": [
            "email",
            "account",
            "signature",
            "account_fallback"
          ]
        },
        "signatureSelection": {
          "type": "string",
          "enum": [
            "fixed",
            "fixed_missing_default",
            "by_contact_tags"
          ]
        },
        "signatureId": {
          "type": "integer"
        },
        "signatureName": {
          "type": "string"
        },
        "sendingDomain": {
          "type": "string"
        },
        "sendingDomainKind": {
          "type": "string",
          "enum": [
            "customer",
            "shared",
            "unavailable"
          ]
        },
        "sendingDomainSource": {
          "type": "string",
          "enum": [
            "from_address",
            "email",
            "signature",
            "account_default",
            "first_valid",
            "shared",
            "none"
          ]
        },
        "dependsOnContactTags": {
          "type": "boolean"
        },
        "senderIdentity": {
          "type": "object",
          "required": [
            "effectiveSenderEmail",
            "customerDomain",
            "normalizedSenderDomain",
            "status",
            "isUsable",
            "senderEmailOptions",
            "senderDomainOptions"
          ],
          "properties": {
            "effectiveSenderEmail": {
              "type": [
                "string",
                "null"
              ]
            },
            "customerDomain": {
              "type": [
                "string",
                "null"
              ]
            },
            "normalizedSenderDomain": {
              "type": [
                "string",
                "null"
              ]
            },
            "status": {
              "type": [
                "string",
                "null"
              ],
              "enum": [
                "ready",
                "address-not-configured",
                "address-not-confirmed",
                "address-not-usable",
                "address-blocked",
                "domain-not-configured",
                "domain-not-verified",
                "domain-not-yet-usable",
                "domain-mismatch",
                null
              ]
            },
            "isUsable": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "senderEmailOptions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "senderDomainOptions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}
```

