Fixed email settings
Merge branch 'master' into django17