Email script with Switch Statement