Fix sending email with django 1.6