Module EzSendgrid_types
type email_address
=
{
email : string;
name : string option;
}
type content_element
=
{
content_type : string;
content_value : string;
}
type person
=
{
dst : email_address list;
cc : email_address list option;
bcc : email_address list option;
psubject : string option;
data : Json_repr.any option;
}
type 'a mail
=
{
person : person list;
from : email_address;
subject : string option;
content : content_element list option;
template_id : string option;
more_fields : 'a option;
}
type contact
=
{
}
type contact_more
=
{
}