{"id":24054736,"url":"https://github.com/devluxor/email-sender","last_synced_at":"2025-10-27T09:36:16.719Z","repository":{"id":270603830,"uuid":"910875255","full_name":"devluxor/email-sender","owner":"devluxor","description":"An email sender written in Python 🐍","archived":false,"fork":false,"pushed_at":"2025-01-01T18:57:47.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T10:46:28.269Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devluxor.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":"2025-01-01T17:42:35.000Z","updated_at":"2025-01-01T18:57:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"ea54a17b-d0b0-42c8-9673-d6355a955b64","html_url":"https://github.com/devluxor/email-sender","commit_stats":null,"previous_names":["devluxor/email-sender"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devluxor/email-sender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devluxor%2Femail-sender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devluxor%2Femail-sender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devluxor%2Femail-sender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devluxor%2Femail-sender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devluxor","download_url":"https://codeload.github.com/devluxor/email-sender/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devluxor%2Femail-sender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272914177,"owners_count":25014393,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-01-09T03:49:41.502Z","updated_at":"2025-10-27T09:36:11.671Z","avatar_url":"https://github.com/devluxor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Email Sender\n\nEmail Sender is a Python-based application designed to send emails using credentials specified in a `.env` file.\n\n## Features\n\n- Send emails through an SMTP server.\n- Configure email credentials via a `.env` file.\n\n## Prerequisites\n\n- Python 3.x\n- `python-dotenv`\n\n## Installation\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/devluxor/email-sender.git\n   ```\n\n2. **Navigate to the project directory:**\n\n   ```bash\n   cd email-sender\n   ```\n\n3. **Create a virtual environment (optional but recommended):**\n\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n\n4. **Install `python-dotenv`:**\n\n   ```bash\n   pip install python-dotenv\n   ```\n\n5. **Create a `.env` file in the project root with the following variables:**\n\n   ```env\n   EMAIL=your_email@example.com\n   PASSWORD=your_password\n   HOST=smtp.example.com\n   PORT=587\n   ```\n\n   Replace the placeholder values with your actual email server credentials. Note that the values will depend on your email server provider.\n\n## Usage\n\n1. **Run the email sender script:**\n\n   ```bash\n   python send_email.py\n   ```\n\n   The script will read the credentials from the `.env` file and send an email as configured within the script.\n\n## Configuration\n\n- **EMAIL:** Your email address.\n- **PASSWORD:** Your email account password.\n- **HOST:** The SMTP server address (e.g., `smtp.gmail.com`).\n- **PORT:** The SMTP server port (e.g., `587` for TLS or `465` for SSL).\n\nEnsure that your email provider allows SMTP access and that the credentials are correct.\n\n## Troubleshooting\n\n- **Environment Variables Not Loading:**\n\n  If the email credentials are not being read correctly from the `.env` file, ensure that the file is properly formatted and that there are no conflicting environment variables set in your system.\n\n- **Authentication Issues:**\n\n  Make sure your email server supports SMTP access and that the username and password provided are correct. Some services may require you to enable \"less secure app access\" or generate an app-specific password.\n\n## License\n\nThis project is licensed under the MIT License.\n\n## Acknowledgments\n\nThis project utilizes the `python-dotenv` package for managing environment variables.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevluxor%2Femail-sender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevluxor%2Femail-sender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevluxor%2Femail-sender/lists"}