# Send an e-mail

`POST /api/v1/emails/send`

Sends one e-mail (including replies) from the user's connected mailbox; it joins the thread and project under the web rules. Returns `400 send` when no mailbox is connected. JSON body only.

## Body

| Field | Type | Description |
|---|---|---|
| `to` (required) | string | Recipient(s), comma separated. |
| `subject` (required) | string | Subject. |
| `body` (required) | string | Body (plain text). |
| `cc` | string | Cc. |
| `customer_id / contact_id / opp_id` | integer | Records to link. |
| `in_reply_to` | string | Message-ID being replied to (`reply.in_reply_to`). |

## Response

```json 400
{
  "error": "invalid",
  "message": "E-posta metni boş.",
  "ok": false
}
```
