def METHOD_NAME(db, client, user, jwt):
    speaker = get_minimal_speaker(db, user, organizer=True)
    db.session.commit()
    data = json.dumps(
        {
            'data': {
                'type': 'speaker',
                "id": str(speaker.id),
                "attributes": {"name": "Areeb Jamal", "email": None},
            },
        }
    )
    response = client.patch(
        f'/v1/speakers/{speaker.id}',
        content_type='application/vnd.api+json',
        headers=jwt,
        data=data,
    )
    assert response.status_code == 200
    assert json.loads(response.data)['data']['attributes']['email'] == user.email
    data = json.dumps(
        {
            'data': {
                'type': 'speaker',
                "id": str(speaker.id),
                "attributes": {"name": "Areeb Jamal", "is-email-overridden": True},
            },
        }
    )
    response = client.patch(
        f'/v1/speakers/{speaker.id}',
        content_type='application/vnd.api+json',
        headers=jwt,
        data=data,
    )
    assert response.status_code == 200
    assert json.loads(response.data)['data']['attributes']['email'] is None