It&#x27;s what the email server that you are making the IMAP or POP connection to does next that matters.  If you send mail to a Gmail account it should make a TLS connection to Google&#x27;s servers directly.