DripDrop.Threading (DripDrop v0.1.0)

Copy Markdown View Source

Outbound email threading header generation.

Summary

Functions

Adds RFC 5322 threading headers to a payload and returns metadata to persist.

Generates a Message-ID using a UUIDv7-shaped local part.

Functions

apply(payload, context, adapter)

@spec apply(map(), map(), Ecto.Schema.t()) :: {:ok, map(), map()}

Adds RFC 5322 threading headers to a payload and returns metadata to persist.

generate_message_id(domain)

@spec generate_message_id(binary() | nil) :: binary()

Generates a Message-ID using a UUIDv7-shaped local part.