Release of #1700. The following lines need to be added to posthog/celery.py to release PR. Deliberately excluded to manually test the PR without sending everyone an email.

```python
# inside setup_periodic_tasks
sender.add_periodic_task(
    crontab(day_of_week="mon"), task_weekly_email_report.s(),
)

# bottom of file
@app.task
def task_weekly_email_report(self):
    from posthog.tasks.email import send_weekly_email_report

    send_weekly_email_report()
```
posthog/api/test/test_person.py
person = Person.objects.create(
            team=self.team, distinct_ids=["person_1", "anonymous_id"], properties={"$os": "Chrome"},
        )
        Event.objects.create(team=self.team, distinct_id="person_1")
        Event.objects.create(team=self.team, distinct_id="anonymous_id")
        Event.objects.create(team=self.team, distinct_id="someone_else")
        response = self.client.delete(f"/api/person/{person.pk}/")
        self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
        self.assertEqual(response.data, None)
        self.assertEqual(Person.objects.count(), 0)
        self.assertEqual(Event.objects.count(), 1)
    def test_filters_by_endpoints_are_deprecated(self):
        Person.objects.create(
            team=self.team, distinct_ids=["person_1"], properties={"email": "someone@gmail.com"},
        )
        
        with self.assertWarns(DeprecationWarning) as warnings:
            response = self.client.get("/api/person/by_distinct_id/?distinct_id=person_1")
        self.assertEqual(response.status_code, status.HTTP_200_OK)  
        self.assertEqual(
            str(warnings.warning), "/api/person/by_distinct_id/ endpoint is deprecated; use /api/person/ instead.",
        )
        
        with self.assertWarns(DeprecationWarning) as warnings:
            response = self.client.get("/api/person/by_email/?email=someone@gmail.com")
        self.assertEqual(response.status_code, status.HTTP_200_OK)  
        self.assertEqual(
            str(warnings.warning), "/api/person/by_email/ endpoint is deprecated; use /api/person/ instead.",
        )