1. I have created a script that collects the temperature every 10min. Twice a day it sends it to an email specified in mailpy2.py.
2. The modified script also adds the file temp_start to /etc/init.d/ so that the script starts when the rpi is connected.

The contents of temp_start are:
sudo python /home/pi/temp4.py

To move the file to the init.d folder and to make it executable:

sudo mv /temp_start /etc/init.d/

sudo chmod +x /etc/init.d/temp_start

sudo update-rc.d temp_start defaults

##temp4.py is shown at the end.

3. Make sure to change your email address and password in mailpy2.py. Script is shown at the end.
4. Change the UK time:
sudo dpkg-reconfigure tzdataScripts: