I know how to do it, just add a config. I’ll submit a PR if I have time later.
upd: Huh? You didn’t write this? Then there’s nothing I can do.
This is a very simple plugin I wrote, you can refer to it on how to add the config.
Lhcfl/discourse-another-smtp (github.com)