Add unit test for auth email settings