Text or binary are the type of the plaintext. For Base64, if the mode is text, '\n' is turned into '\r\n' when encoding, and vice versa.
include sig ... endval sexp_of_known : known ‑> Base.Sexp.tval hash_fold_known : Base.Hash.state ‑> known ‑> Base.Hash.stateval hash_known : known ‑> Base.Hash.hash_valueinclude sig ... endval sexp_of_t : t ‑> Base.Sexp.tval hash_fold_t : Base.Hash.state ‑> t ‑> Base.Hash.stateval hash : t ‑> Base.Hash.hash_valueval default : knownval default' : tval of_headers_or_default : ?ignore_base64_for_multipart:bool ‑> Email_message__.Headers.t ‑> tDetermine an encoding based on email headers. ignore_base64_for_multipart is
useful because some clients can't read RFCs and incorrectly indicate a transfer
encoding of base64 for multipart messages.