|
| 1 | +# Attachment Downloader |
| 2 | + |
| 3 | +The script downloads gmail atttachment(s) in no time! |
| 4 | + |
| 5 | + |
| 6 | +# Setup Instructions |
| 7 | + |
| 8 | +The script uses ezgmail module (to know more visit https://pypi.org/project/EZGmail/). To install please type the following command in your bash. |
| 9 | + |
| 10 | +```bash |
| 11 | +pip install EZGmail |
| 12 | +``` |
| 13 | + |
| 14 | +Once the module is installed you will need to download credentials.json file by going to [developers.google.com](https://developers.google.com/gmail/api/quickstart/python) and clicking the Enable the Gmail API button (select "Desktop app" as OAuth Client in second step). |
| 15 | + |
| 16 | +Once you have credentials.json (in root directory of project folder), the first time you run the script it will open up a browser window asking you to log in to your Gmail account and allow "Quickstart" app to access it. A token.json file will be generated (in root directory of project folder) which your script can use to access your account. |
| 17 | + |
| 18 | +# Outputs |
| 19 | + |
| 20 | +## Output 1 |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +## Output 2 |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +## Output 3 |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | +## Output 4 |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | +# Author |
| 37 | + |
| 38 | +Contributed by Kirtan Bhatt |
0 commit comments