I'm trying to setup an exception reporting mechanism with node.js, the logging lib winston, and AWS's SNS. The basic idea is that when node.js crashes, winston will publish the stacktrace to SNS, which will then email me at a gmail email address. My question is about encryption: does SNS send email in the clear? I would want my exceptions and stack traces to be obfuscated from snoopers, for obvious reasons.
If you want email encryption, you'll need to implement it yourself using GPG. GPG is the only 'safe' way to send encrypted email -- the way it works is like so:
You might find the GPG site useful (it has a tutorial): https://www.gnupg.org/gph/en/manual.html
Hope that helps!