This app was mentioned in 2 comments, with an average of 1.00 upvote
> And secondly I didn't understand your next question, do you want your phone to take pictures, mail them and then power off?
exaclty. That task can possibly be easily accomplished by Power Boot. Are there any other solutions for that?
The basic behaviour would be: boot -- take picture -- send it via mail -- shut down
You could try this app
https://play.google.com/store/apps/details?id=com.FabioCanovi.Android.PowerBoot&hl=fi