Removes classes that are closed or open

Removes classes that the program has already sent an email about