{"id":23991295,"url":"https://github.com/loglux/csv2email","last_synced_at":"2025-08-25T13:03:53.632Z","repository":{"id":226130026,"uuid":"767840304","full_name":"loglux/CSV2Email","owner":"loglux","description":"This project automates the process of sending emails via the Office 365 API or Gmail API","archived":false,"fork":false,"pushed_at":"2024-07-31T12:32:12.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-07T19:39:28.954Z","etag":null,"topics":["gmail-api","mail-sender","ms-outlook","oauth2","office365"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/loglux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-03-06T01:38:57.000Z","updated_at":"2024-07-31T12:42:47.000Z","dependencies_parsed_at":"2025-01-07T19:39:07.238Z","dependency_job_id":"b3a2aec9-3d0b-40cd-a4c7-103ebe05d2c4","html_url":"https://github.com/loglux/CSV2Email","commit_stats":null,"previous_names":["loglux/csv2email"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loglux%2FCSV2Email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loglux%2FCSV2Email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loglux%2FCSV2Email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loglux%2FCSV2Email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loglux","download_url":"https://codeload.github.com/loglux/CSV2Email/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240605841,"owners_count":19827985,"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":["gmail-api","mail-sender","ms-outlook","oauth2","office365"],"created_at":"2025-01-07T19:39:02.636Z","updated_at":"2025-02-25T05:17:17.077Z","avatar_url":"https://github.com/loglux.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Office 365 Email Automation\n\n## Project Overview\nThis script automates the process of sending emails through the Office 365 API using a Python script (`o365_email_sender.py`). It reads recipient details from a CSV file (`companies_info.csv`) and uses an HTML email template (`email_template.txt`) to craft content. It is aimed at automating email outreach and is a robust tool for businesses and individuals.\n\n## Prerequisites\n- Python 3.x\n- An Office 365 account with API access enabled\n- The O365 Python package\n\n## Setup and Installation\n1. Clone this repository.\n2. Install the required dependencies:\n   - Directly via pip: `pip install O365`\n   - Or from the `requirements.txt` file: `pip install -r requirements.txt`\n3. Insert your Office 365 API **client_id** and **client_secret** into the **o365_email_sender.py**.\n4. Ensure the `o365_token.txt` is present for storing authentication tokens.\n5. Update **email_template.txt** and **companies_info.csv** with your specific email content and recipient information.\n\n## Usage\n- Populate the CSV file with target recipient details, including columns for name, email, etc.\n- Customise the email template as necessary.\n- Run the script with the command: `python o365_email_sender.py`\n\n## Features\n- Secure authentication with the Office 365 API.\n- Dynamic email content using a customisable HTML template.\n- Recipient management via CSV.\n- Test mode for validation.\n- Automated email sending with adjustable delays to prevent rate limiting.\n- Generates a report (`email_report.txt`) detailing the outcomes of the email dispatch process.\n\n## Contributing\nContributions to improve or extend the functionality are highly encouraged. Please fork the repository and submit pull requests for any proposed changes or fixes.\n\n## License\nThis project is distributed under the MIT License. Refer to the LICENSE file for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floglux%2Fcsv2email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floglux%2Fcsv2email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floglux%2Fcsv2email/lists"}