some changes added: email sending and camera functionality