diff --git a/cps/tasks/mail.py b/cps/tasks/mail.py index 770087b4..89e9e2f0 100644 --- a/cps/tasks/mail.py +++ b/cps/tasks/mail.py @@ -103,7 +103,7 @@ class EmailSSL(EmailBase, smtplib.SMTP_SSL): class TaskEmail(CalibreTask): - def __init__(self, subject, filepath, attachment, settings, recipient, taskMessage, text): + def __init__(self, subject, filepath, attachment, settings, recipient, taskMessage, text, internal=False): super(TaskEmail, self).__init__(taskMessage) self.subject = subject self.attachment = attachment diff --git a/optional-requirements.txt b/optional-requirements.txt index 547f0256..b6fee806 100644 --- a/optional-requirements.txt +++ b/optional-requirements.txt @@ -1,9 +1,8 @@ # GDrive Integration -google-api-python-client>=1.7.11,<2.1.0 gevent>20.6.0,<21.2.0 greenlet>=0.4.17,<1.1.0 httplib2>=0.9.2,<0.18.0 -# oauth2client>=4.0.0,<4.1.4 +oauth2client>=4.0.0,<4.1.4 uritemplate>=3.0.0,<3.1.0 pyasn1-modules>=0.0.8,<0.3.0 pyasn1>=0.1.9,<0.5.0 @@ -12,6 +11,12 @@ PyYAML>=3.12 rsa>=3.4.2,<4.1.0 six>=1.10.0,<1.15.0 +# Gdrive and Gmail integration +google-api-python-client>=1.7.11,<2.1.0 + +# Gmail +google-auth-oauthlib>=0.4.3,<0.5.0 + # goodreads goodreads>=0.3.2,<0.4.0 python-Levenshtein>=0.12.0,<0.13.0