title: I want to create a reusable function in Django
body: <p>I am new to django and have been working on a project where i need to send regular mails to my clients from different modules in my django project.</p>
  
  <p>I wanted to know if there is any provision in django using which i can create a reusable component which can be used globally in my project.</p>
  
  <p>The purpose is to create a mail sending function using a third party api and to call it from anywhere in my application just by passing the required parameters.</p>