public function getByEmail(string $emailAddress): AccountType
    {
        $response = $this->client->request(
            'GET',
            // $emailAddress must not be urlencoded
            $this->client->getConfig('base_uri') . '/accounts/' . $emailAddress . '/'
        );

        $json = json_decode($response->getBody());

        return (new AccountType)->fromJson($json);
    }