Send emails based on a Django template