got email notifications working