implement AutoUseDefaultEmailAddress setting unit test