Create a plugin that emails the author of a published post when someone else trashes it. Bonus points for telling the author who did the dastardly deed.
This is meant to be a first pass at objects and classes, not in-depth exploration. You should be comfortable accessing properties of the WP_Post and WP_User objects. More information on classes and objects can be found here, but this should not be necessary to complete this assignment: