# Read Gmail Preview Result

Reads the Gmail placement result requested by send-email-for-gmail-placement-preview. A reported result may contain an error or timeout; it is no delivery guarantee.

## 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",
    "requestedAt",
    "status",
    "result",
    "message"
  ],
  "properties": {
    "emailId": {
      "type": "integer"
    },
    "requestedAt": {
      "type": "integer"
    },
    "status": {
      "type": "string",
      "enum": [
        "not_requested",
        "pending",
        "reported"
      ]
    },
    "result": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "message": {
      "type": [
        "string",
        "null"
      ]
    }
  }
}
```

