If you're able to acces to server components, You'll be able to purchase a router with openwrt and install ssr, vssr support on openwrt and hook up it towards your server IMAP - a protocol just like POP3, but with help for folders, labels, looking at and running messages and https://createssh.net