adding a simple intro example: checking email address validity