Use Gmail for Email in Django
By Justin

This post is outdated. Use our guide on Sending Email in Django from Gmail instead.
This is a simple way to setup gmail as your primary email service in Django. A general configure your email overview is here.
Gmail is not recommended for a production project (live web application) because gmail is not a transactional email service; gmail is not made web application use and, if abused, could cause you to be banned from gmail. In any case, it's still very useful to test on gmail until you move to a production-ready email service like Sendgrid or Postmark. Full disclosure: we used gmail as our production email service for many months prior to switching to sendgrid.
DJANGO_SETTINGS_MODULE (aka settings.py)
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'yourpassword'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
*Ensure the SMTP is activated in your account
Allow less secure apps
Gmail has a TON of security built in. Allowing less secure apps makes it easier for your server via Django to login to gmail.
Disable Captcha
In some cases, you may have to disable captcha when using Gmail with Django. Another security feature of Gmail.