Cleaned up tests
Fixed some bugs with handlers being defined multiple times on copy email buttons
Added error checking in case email can't be properly loaded