emailAccount - functions and tests 2