Karta.Postal (Karta v1.0.0)

What Karta's Postal-compatible API (KartaWeb.Postal) and webhooks in Postal's format (Karta.Webhooks.Postal) say alike about a message.

Postal keeps one message per recipient; Karta keeps one message with a row per recipient (Karta.Outbound.Recipient). A Postal "message" is therefore a recipient: its id is the recipient's id, and its token is derived from that id (Postal's clients pass it back unread).

Summary

Functions

A Message-ID without its angle brackets, as Postal gives it.

The token of the Postal message that is the recipient id.

Functions

message_id(id)

@spec message_id(String.t() | nil) :: String.t() | nil

A Message-ID without its angle brackets, as Postal gives it.

token(id)

@spec token(String.t()) :: String.t()

The token of the Postal message that is the recipient id.