Settings.py
EMAIL_USE_TLS=True
EMAIL_HOST='smtp.gmail.com'
EMAIL_HOST_USER='your email'
EMAIL_HOST_PASSWORD='your password'
EMAIL_PORT=587
Views.py
from django.core.mail import send_mail
html_content="Enter the content "
notification="Check your mail"
send_mail('Send mail',html_content, settings.EMAIL_HOST_USER,['[email protected]'],fail_silently=False)