Check for images.

Prevent sending an email if there are no scanned images.