Django app that sends emails based on simple criteria