Test/email notifications

Tests for email notifications