It is necessary to work with the IMAP server through a proxy, are there ready-made libraries for this? Or please tell me examples using the standard features of the language.
in general, the IMAP itself is in the main library, but with a proxy, it seems, they are not very
commonly recommended there that sockets or various wrappers from PyPi, up to cURL