Fix exceptions on RPi and add temporary way to set email