Fixed email notification testing, and set oath2 mode to offline