Lesson 11 Practice 1 'mail is not declared'

I followed the instruction in the walk through and encountered a validation error in the “If” activity, but cannot identify why. Does anyone know why this issue arose?

Do you have a mail message variable defined?

If yes to the above then check the scope of this variable.