Added email notification test