Using a Raspberry Pi, camera module and microswitch - The RasPi will email you a photo, and tweet you when you have post!