If you want to use ActiveMQ, then you can use the embedded ActiveMQ of InterFormNG2.
In order to setup the global email server, you first need to sign in as described here.
Then you click Message Queue on the left below Workflow:
Now you can enable the embedded ActiveMQ and set it up:
Remember to restart the InterFormNG2 service to active the changes.