update email test script