I had a Discourse behind a firewall, but our users emails were behind the same firewall, so everything woked just fine.
You have a peculiar case, where Discourse itself is in a “safe place” but you send this safe content to the internet over e-mails. Looks like a good use case for Secure Email Mode.