Email report at the end and reboot