# Update email

> Reschedules an email that is still `scheduled`.

Source: https://mailvina.com/docs/api-reference/emails/update-email · Base URL: https://api.mailvina.com · Guide: https://mailvina.com/docs/send-email

`PATCH /emails/:id`

**Path parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | The email ID. |

**Body parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `scheduled_at` | `string` | yes | New ISO 8601 send time. |

**Request**

```bash
curl -X PATCH 'https://api.mailvina.com/emails/:id' \
  -H 'Authorization: Bearer mv_xxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
  "scheduled_at": "2026-12-01T09:00:00Z"
}'
```

```js
const res = await fetch('https://api.mailvina.com/emails/:id', {
  method: 'PATCH',
  headers: {
    Authorization: `Bearer ${process.env.MAILVINA_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "scheduled_at": "2026-12-01T09:00:00Z"
  }),
});
const data = await res.json();
```

```python
import os, requests

res = requests.patch(
    "https://api.mailvina.com/emails/:id",
    headers={"Authorization": f"Bearer {os.environ['MAILVINA_API_KEY']}"},
    json={
        "scheduled_at": "2026-12-01T09:00:00Z"
    },
)
print(res.json())
```

**Response**

```json
{
  "object": "email",
  "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}
```
