-record(tls, {mode :: sendr_smtp:tls_mode(), allow_invalid_certs :: boolean()}).