fixed - email notification

Email notification - sub as null error fix