# Queue a lender submission email action

Queues emailout, followup, reply or request_contract using server-resolved recipients, documents and authorized sender. Requires submission write permission and validates the action's prerequisites. Initial sends require a native prepared share and use one canonical operation key. Returns an asynchronous job, not a delivery confirmation.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/rows/{rowId}/submissions/mailer-actions`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| rowId | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "action": "string",
  "documentIds": [
    "string"
  ],
  "idempotencyKey": "string",
  "replyContent": "string",
  "reviewId": ""
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "action": "string",
    "createdAt": "2026-01-01T00:00:00Z",
    "documentResults": [
      "string"
    ],
    "error": "string",
    "id": "",
    "messageId": "",
    "provider": "string",
    "rfc822MessageIds": [
      "string"
    ],
    "state": "string",
    "submissionRowId": "",
    "threadId": ""
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
