public function set3pid($data)
    {
        if ($this->check()) {
            return $this->matrix()->request('POST', $this->endpoint('account/3pid'), $data, [
                    'access_token' => $this->data['access_token']
                ]);
        }
        throw new \Exception('Not authenticated');
    }