Some fixes. send_image still not working [?]
poweroff function
send_by_email function (not working)