{"id":16444171,"url":"https://github.com/douglascdev/gmail_attachment_downloader","last_synced_at":"2025-10-27T03:31:49.929Z","repository":{"id":57435063,"uuid":"355596504","full_name":"douglascdev/gmail_attachment_downloader","owner":"douglascdev","description":"A command line application that downloads all the gmail attachments with the specified format and search terms.","archived":false,"fork":false,"pushed_at":"2024-01-07T00:07:45.000Z","size":18,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-01T01:51:22.354Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/douglascdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-07T15:33:36.000Z","updated_at":"2024-01-24T23:11:16.000Z","dependencies_parsed_at":"2022-09-04T15:04:32.295Z","dependency_job_id":null,"html_url":"https://github.com/douglascdev/gmail_attachment_downloader","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fgmail_attachment_downloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fgmail_attachment_downloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fgmail_attachment_downloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/douglascdev%2Fgmail_attachment_downloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/douglascdev","download_url":"https://codeload.github.com/douglascdev/gmail_attachment_downloader/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238431639,"owners_count":19471427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T09:23:29.797Z","updated_at":"2025-10-27T03:31:49.637Z","avatar_url":"https://github.com/douglascdev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gmail Attachment Downloader\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\nA command line application that downloads all the gmail attachments with the specified format and search terms. It's still in alpha, so feel free to contribute :)\n\n## Installation\n\nSimply run:\n\n```\npip install gmail-attachment-downloader\n```\n\n## Usage\nCheck the available options with:\n```\n\u003e gmail_attachment_dl --help\nUsage: gmail_attachment_dl [OPTIONS]\n\nOptions:\n  -e, --email TEXT       The email address used to login and retrieve\n                         attachments\n\n  -i, --inbox TEXT       Name of the inbox containing your email  [default:\n                         Inbox]\n\n  -s, --search TEXT      Equivalent to gmail's search box(attachments are\n                         always filtered)  [default: ]\n\n  -f, --folder TEXT      Folder where attachments will be saved\n  -ext, --file_ext TEXT  Extension in which the downloaded attachments will be\n                         saved\n\n  -m, --mime_type TEXT   MIME Type to filter attachments(guessed from\n                         extension by default)\n\n  --help                 Show this message and exit.\n```\nYou are required to provide the following options:\n```\n\u003e gmail_attachment_dl -e example@gmail.com -f \"C:\\My Attachments\" -ext pdf\n```\nThis will search your default Inbox for every pdf file and save them at \"C:\\My Attachments\", so you probably want to be more specific than that.\n\nHere's how you would download every pdf from unread e-mails on the Test inbox:\n```\ngmail_attachment_dl -e example@gmail.com -f \"C:\\My Attachments\" -ext pdf -s \"is:unread\" -i Test\n```\nThe `-s` option allows you to use any filters you would use in gmail. You can check the available filters at `https://support.google.com/mail/answer/7190?hl=en`.\n\nThe `-i` option allows you to specify an Inbox to search.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fgmail_attachment_downloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdouglascdev%2Fgmail_attachment_downloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdouglascdev%2Fgmail_attachment_downloader/lists"}