<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def email(self, client_id, email, send='link', auth_params=None):
 """Start flow sending an email. Given the user email address, it will send an email with: - A link (default, send:"link"). You can then authenticate with this user opening the link and he will be automatically logged in to the application. Optionally, you can append/override parameters to the link (like scope, redirect_uri, protocol, response_type, etc.) using auth_params dict. - A verification code (send:"code"). You can then authenticate with this user using email as username and code as password. Args: client_id (str):
 Client Id of the application. email (str):
 Email address. send (str, optional):
 Can be: 'link' or 'code'. Defaults to 'link'. auth_params (dict, optional):
 Parameters to append or override. """


        return self.post(
            'https://{}/passwordless/start'.format(self.domain),
            data={
                'client_id': client_id,
                'connection': 'email',
                'email': email,
                'send': send,
                'authParams': auth_params
            },
            headers={'Content-Type': 'application/json'}
        )