The item variable name get changed as per the datatype you are trying to iterate.
If you are iterating outlook mail messages, it would be most likely currentMailMessage
You can click on the For each activity and check property item name for exact name.
