sihl-email

A Sihl service for sending emails using Lwt
Library sihl-email
Module Sihl_email . Template . Make

Parameters

Signature

val get : id:string -> Sihl_email_core__Model.Template.t option Lwt.t
val get_by_name : name:string -> Sihl_email_core__Model.Template.t option Lwt.t
val create : name:string -> html:string -> text:string -> Sihl_email_core__Model.Template.t Lwt.t
val update : template:Sihl_email_core__Model.Template.t -> Sihl_email_core__Model.Template.t Lwt.t
val render : Sihl_email_core__Model.t -> Sihl_email_core__Model.t Lwt.t
val register : unit -> Sig.Core.Container.Service.t