added a LET statement, and inefficient email test