GATEWAY-3463: Generate smtp.agent.config.xml from template for e-gf depl...

...oy.

This mirrors what we did for GATEWAY-3247 in embedded glassfish