Fixed up styling of copy to editor button on emails
Cleaned up some aspects of the code
Getting tests written and working