> ## Documentation Index
> Fetch the complete documentation index at: https://helloluciallc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Postmark (Email Inbound)

<Note>
  Postmark provides email inbound for maintenance reports. Body and metadata work; image attachment rendering is deferred.
</Note>

***

## Current Role

Postmark currently sends inbound email events to:

```text theme={"dark"}
/webhooks/maintenance
```

Development webhook:

```text theme={"dark"}
https://api-dev.hellolucia.ai/webhooks/maintenance?provider=postmark&source_channel=email&webhook_kind=postmark_inbound
```

***

## Current Working State

Postmark inbound currently supports:

```text theme={"dark"}
subject
sender
body
headers
attachment metadata
```

This is enough for basic maintenance intake.

***

## Current Limitation

Postmark webhook payloads currently provide attachment metadata but not usable binary attachment content for Lucia’s rendering pipeline.

Observed result:

```text theme={"dark"}
Attachment received
file metadata visible
no renderable image
```

***

## Deferred Upgrade

Planned fix:

```text theme={"dark"}
Postmark API retrieval path
```

Expected flow:

<div className="hl-flow-v"><span>Webhook receives MessageID</span><span>Engine calls Postmark API</span><span>fetches full message / attachment content</span><span>uploads attachment to Bunny</span><span>renders via Bunny CDN</span></div>

Reference:

```text theme={"dark"}
https://postmarkapp.com/developer/api/servers-api#edit-server
```

***

## Current Status

```text theme={"dark"}
Email body → working
Email metadata → working
Email attachment rendering → deferred
```

***

## Product Decision

This limitation does not block the current live transition because SMS/MMS and WhatsApp already provide image-capable maintenance intake.

***

## See Also

* [01 - Maintenance Workflow](/lucia/operations/maintenance-workflow)
* [05 - Bunny CDN and Storage](/lucia/infrastructure/bunny-cdn-and-storage)
* [01 - Ingestion Layer](/lucia/system-architecture/ingestion-layer)
