Take a picture of your phone's user upon entering wrong unlock code/pattern and send it to yourself via email silently

This is a nice intro into using SL4A+Python with Tasker. And the actual task (silently take a photo of a possible thief) is useful as well.