I have this email server that I have to create as a microservice for two web applications that the company I work on, and the architecture is somewhat like this: