added change checking, only sends email on change, requires sqlite3