Add CodeClimate test coverage
Add ajax spinner waiting for email to be sent after button click