email test script