Since Django 1.7 has html emails, now using that instead of custom solution.