Added email notification feature