From ZoneMinder Wiki
ZM is able to send notification emails when email is configured on the client.
You can have emails sent automatically based on a filter. You can have relevant camera pictures embedded in the email.
Tips & Tricks
Email is typically a thing you will configure once, and then reuse that or a similar configuration on many computers. Once you get it right, it's likely to work in multiple servers.
SSMTP is deprecated. Use MSMTP or postfix, etc...
Links
See the following pages which have covered setting up email with ZM.
- How_to_get_ssmtp_working_with_Zoneminder - One method of configuring email w/SSMTP (<=deb 9)
- SMS_Notifications - Builds upon the ssmtp guide with further troubleshooting, and introduces sms gateways. MSMTP install (deb 10)
- Filters - Example filters for emailing.