included variables for email error notification