add debugging information to figure out what is happening when validating the email body for notifications