Adds draft and published states to Email

* Uses state_machine gem to handle state tracking and transition.