some more logging for the email alerts