<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->

# API Reference — Implementing Email Quarantine Management

## Commands

| Command | Description |
|---|---|
| `Get-QuarantineMessage` | List quarantined messages with filters |
| `Preview-QuarantineMessage` | Preview quarantined message content safely |
| `Release-QuarantineMessage` | Release message from quarantine |
| `Delete-QuarantineMessage` | Permanently delete quarantined message |
| `Get-QuarantinePolicy` | List quarantine policy configurations |
| `Export-QuarantineMessage` | Export quarantined message for analysis |
| `Get-QuarantineMessageHeader` | Retrieve full headers of quarantined message |

## Agent Script

```bash
# node agent.js list
# node agent.js review --message-id <value>
# node agent.js fp-report
```
