This article will explain how to configure F5 NGINX Plus or **NGINX Open Source**
few year ago I did use it, not sure of current status.
Anyway to original question, if problem is using Mailbow services, I would suggest to ask there, if they are using common IMAP/POP/SMTP it should work, so most likely they have something extra?