Selectively send email notification on deletion

- Only send a notification to valid email domain

- Add a test for the notification when a profile
is created