Logotipo Hedhog

Get Hedhog updates in your inbox

New releases, fresh recipes, and breaking changes — no spam.

Back to Core modulesWired in CoreModule

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

FieldTypeRequiredNotes
mail_idnumberyes
subjectstringyes
fromstringyes
bodystringyes
tostringno
ccstringno
bccstringno

Update delivery status or error information of a sent mail record.

Params
id (int)

Body

FieldTypeRequiredNotes
mail_idnumberno
subjectstringno
fromstringno
bodystringno
tostringno
ccstringno
bccstringno

Delete sent mail records.

Body

FieldTypeRequiredNotes
idsnumber[]yesIDs to delete

MCP Tools

Named tools callable by AI models via the Model Context Protocol (MCP).

  • core.mail-sent.list

    List sent mail records with optional status and date filters

  • core.mail-sent.get

    Get the details of a single sent mail record

  • core.mail-sent.delete

    Delete one or more sent mail records