added familiar logging for email notifications