Get Hedhog updates in your inbox
New releases, fresh recipes, and breaking changes — no spam.
Core Submodule
mail-sent
Tracks sent mail messages and their delivery metadata.
Source path: libraries/core/src/mail-sent
Module file: mail-sent.module.ts
Introduction
This page documents the mail-sent submodule as part of the Core package. Use it as a quick technical reference for implementation scope, exposed APIs and MCP integration points.
HTTP Endpoints
5 endpoints
List sent mail records with optional filters.
- Query
- page, pageSize, status? ("all"|"received"|"read"|"error"), hasError?, recipientEmail?, createdAtFrom?, createdAtTo?
Get the details of a single sent mail record.
- Params
- id (int)
Create a sent mail record manually.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| mail_id | number | yes | — |
| subject | string | yes | — |
| from | string | yes | — |
| body | string | yes | — |
| to | string | no | — |
| cc | string | no | — |
| bcc | string | no | — |
Update delivery status or error information of a sent mail record.
- Params
- id (int)
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| mail_id | number | no | — |
| subject | string | no | — |
| from | string | no | — |
| body | string | no | — |
| to | string | no | — |
| cc | string | no | — |
| bcc | string | no | — |
Delete sent mail records.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
| ids | number[] | yes | IDs to delete |
MCP Tools
Named tools callable by AI models via the Model Context Protocol (MCP).
core.mail-sent.listList sent mail records with optional status and date filters
core.mail-sent.getGet the details of a single sent mail record
core.mail-sent.deleteDelete one or more sent mail records