val with_ : ?config:Async_smtp__.Client_config.t ‑> ?credentials:Async_smtp__.Credentials.t ‑> log:Async_smtp__.Mail_log.t ‑> ?flows:Async_smtp__.Mail_log.Flows.t ‑> ?component:Async_smtp__.Mail_log.Component.t ‑> ?emulate_tls:bool ‑> dest:Async_smtp_types.Smtp_socket_address.t ‑> Async.Reader.t ‑> Async.Writer.t ‑> f:(t ‑> 'a Async.Deferred.Or_error.t) ‑> 'a Async.Deferred.Or_error.t