Module Email_message__Email_simple.Attachment
module Id : sig ... endval id : t -> Id.tIn a given email, each attachment has a unique
Id.tthat is determined by the email structure.
val headers : t -> Email_message__.Headers.tThe headers surrounding this attachment
val embedded_email : t -> Email_message.Email.t optionSome emailif this is an attached message/rfc822 content
val raw_data : t -> Email_message.Bigstring_shared.t Core.Or_error.tThese are expensive operations
val md5 : t -> string Core.Or_error.tval sha256 : t -> string Core.Or_error.tval filename : t -> attachment_nameval to_file : t -> string -> unit Async.Deferred.Or_error.t