include sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val of_email : Email_message.Email.t ‑> t
val create : content_type:Mimetype.t ‑> ?encoding:Email_message.Octet_stream.Encoding.known ‑> ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> string ‑> t
val html : ?encoding:Email_message.Octet_stream.Encoding.known ‑> ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> string ‑> t
val text : ?encoding:Email_message.Octet_stream.Encoding.known ‑> ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> string ‑> t
val of_file : ?content_type:Mimetype.t ‑> ?encoding:Email_message.Octet_stream.Encoding.known ‑> ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> string ‑> t Async.Deferred.t
val alternatives : ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> t list ‑> t
val mixed : ?extra_headers:(Email_message__.Headers.Name.t * Email_message__.Headers.Value.t) list ‑> t list ‑> t
val content_type : t ‑> Mimetype.t
val content : t ‑> Email_message.Octet_stream.t option
val to_file : t ‑> string ‑> unit Async.Deferred.Or_error.t