Email notification fix.