A class for sending emails in django using template system