Added inline log for warning email.