Add support for custom SMTP configuration
Useful in docker to use mailhog instead of actually sending emails