I found a mail server with SMTP without encryption on port 587. The mail testing works ("test message sent success") but the actual email notification on motion detection does not, with or without the snapshot attachment. I don't think the mail server is at fault because both IMAP and SMTP work...