modified displaying email notification