Skip to content

Import mail from Gmail API into your Django application automatically.

License

Notifications You must be signed in to change notification settings

appfluence/django-mailbox

 
 

Repository files navigation

Django-Mailbox - Gmail API extension

This Django-Mailbox extension is focused on using the API of gmail for getting new emails we receive in our mailbox.

Django Mailbox Documentation

  • Documentation for django-mailbox is available on ReadTheDocs.
Join the chat at https://gitter.im/coddingtonbear/django-mailbox

Guide - Gmail API extension

  • Generate a client_secret.json file for the gmail api in google cloud. - Use Web Application as application type - Set the redirect_url to /django-mailbox/ in the correct hostname - copy the json file here

  • Run ./create_credentials.sh client_secret.json - visit url and accept permissions

  • Copy the output to settings.yaml

  • The URI to use the gmail api transport, contains the user email, the user id and the watch address in case we are using the pub sub feature of google cloud platform. An example of an URI with gmail api:

    'gmailapi+ssl://<username>%40<yourdomain.com>:<user_id>@/adress/to/watch/pubsub'

About

Import mail from Gmail API into your Django application automatically.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%