Module webhook

Source
Expand description

Handles sending processed email data to a configured webhook URL via HTTPS POST.

This module defines the data structure for the webhook payload (EmailPayload) and provides a WebhookClient responsible for making the asynchronous HTTP request. It uses hyper and hyper-rustls for the underlying HTTP/S communication.

Structsยง

EmailPayload
Represents the data payload sent to the webhook URL.
WebhookClient
A client responsible for sending EmailPayload data to a configured webhook URL.