I've been using PeakHMI for years now using plain un-encrypted email messages. The email server I was using finally shut down and I was required to find another email server. Gmail requires an encrypted connection but I couldn't get it working with my version of PeakHMI (8.6.0.1). The solution I have found is to use stunnel (windows version). stunnel receives an un-encrypted message from PeakHMI which is then encrypted and sent to gmail.
PeakHMI >> stunnel >> gmailThe configuration of stunnel by default is setup for gmail. No adjustments required.
This configuration assumes that PeakHMI and stunnel are on the same machine
That all there is to it.
I put stunnel in the "startup" folder so it will auto-start on login