title: Where is the best place to send email in django-rest-framework?
body: <p>I want to send emails in django rest framework, for example when someone creates an account,or comments something and etc. I found <a href="https://docs.djangoproject.com/en/2.1/topics/email/" rel="nofollow noreferrer">this</a> in django documents. But I don't know where to use it. maybe in Viewset but in which method.</p>
  
  <p>so what is the best way and where is the best place to send emails in Django Rest Framework?</p>