{"id":20736957,"url":"https://github.com/4rnv/unique_attachment_mail","last_synced_at":"2026-04-18T20:03:11.488Z","repository":{"id":210427229,"uuid":"726520032","full_name":"4rnv/Unique_Attachment_Mail","owner":"4rnv","description":"Mailing script for individualized attachments.","archived":false,"fork":false,"pushed_at":"2024-02-19T09:06:44.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T11:31:38.733Z","etag":null,"topics":["aol","bulk-email-sender","csv","gmail","mail","mass-mailer","outlook","protonmail","python","smtp","yahoo"],"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/4rnv.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}},"created_at":"2023-12-02T16:17:15.000Z","updated_at":"2024-07-12T18:53:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"c000678b-db27-48aa-ab43-b1f0bf96e9aa","html_url":"https://github.com/4rnv/Unique_Attachment_Mail","commit_stats":null,"previous_names":["4rnv/mass_email_unique_attachments","4rnv/unique_attachment_mail"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/4rnv/Unique_Attachment_Mail","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rnv%2FUnique_Attachment_Mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rnv%2FUnique_Attachment_Mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rnv%2FUnique_Attachment_Mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rnv%2FUnique_Attachment_Mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/4rnv","download_url":"https://codeload.github.com/4rnv/Unique_Attachment_Mail/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/4rnv%2FUnique_Attachment_Mail/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27576913,"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-12-07T02:00:07.896Z","response_time":53,"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":["aol","bulk-email-sender","csv","gmail","mail","mass-mailer","outlook","protonmail","python","smtp","yahoo"],"created_at":"2024-11-17T06:12:51.288Z","updated_at":"2025-12-07T20:04:49.914Z","avatar_url":"https://github.com/4rnv.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mass_Email_Unique_Attachments\nSends mails to a list of addresses, with different attachments. \nUseful for mailing personalized certificates, layoff letters and wedding invitations. \nReads data from a CSV file with email addresses and the names of the files which are to be sent as attachments.\n# Setup\n- Create a folder containing all attachments which are to be sent\n- Create a CSV file with two columns, the name of the attachment file, and the mail address of the receiver\n- Add the path of the folder and CSV file in your script\n# Usage\nThere are two scripts, the native script will use the Outlook or Windows Mail to send the mails. The mails will be sent from your currently logged-in mail id. This script is suitable for Windows.\nThe SMTP script allows you to setup a SMTP server to send mails. Follow the comment instructions in the script to setup an SMTP server. This requires you to allow alternative sign-in from your email provider. \nThe `smtp_server` depends on which mail provider you are using. Common servers for major providers are:\n- Yahoo!\n  - smtp.mail.yahoo.com\n- Gmail\n  - smtp.gmail.com\n- Outlook\n  - smtp.office365.com\t/ smtp-mail.outlook.com\n\nThe password to be entered in `smtp_password` is generated from your email provider settings.\n- https://hotter.io/docs/email-accounts/secure-app-gmail/\n- https://superuser.com/questions/1521236/how-to-allow-less-secure-app-access-in-microsoft-email\n- https://help.inspectionsupport.com/en/articles/392427-enable-less-secure-apps-for-smtp-use-isn-yahoo-mail\n      \nThe first script is suitable for users who don't wish to setup an SMTP server, or don't want to generate a less secure key.\n\n# Alteration\nYou can modify the code to change the type of attachments being sent, for example instead of PDFs, you can send Word documents by changing the `pdf_file_name = row['name'] + '.pdf'` to `pdf_file_name = row['name'] + '.docx'`. For images, use .png, .jpg, etc.\nYou can also comment out the CC option if you don't wish to CC the mail to anyone.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4rnv%2Funique_attachment_mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F4rnv%2Funique_attachment_mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F4rnv%2Funique_attachment_mail/lists"}