Add spec for Api::EmailsController and make it pass.