This is the Google's Gmail API integration in Django 1.9 using Python 3+
This particular integration is for retrieving the tokens for gmail account,validating the token generated, creating a text mail using MIMEText( ), creating a mail with attachments, sending mail through your gmail account.
Please add your own client_secret.json in the root folder before running the python server using "python manage.py runserver"
"plus" is the main app
Do not go on the name of app as it is for Gmail
Major references:
-
Django Google API Sample: https://github.com/google/google-api-python-client/tree/master/samples/django_sample
-
http://engineering.hackerearth.com/2014/06/07/using-google-apis-in-django/
-
python-social-auth LIBRARY http://stackoverflow.com/questions/29058520/how-to-sign-in-with-the-google-api-using-django
-
http://www.marinamele.com/use-the-google-analytics-api-with-django
-
Storage Class https://developers.google.com/api-client-library/python/guide/django#storage
-
Google Python Video https://www.youtube.com/watch?v=IVjZMIWhz3Y