{"id":20031680,"url":"https://github.com/andrejmaya/aws-email-newsletter","last_synced_at":"2026-01-06T14:46:50.622Z","repository":{"id":86054458,"uuid":"535423233","full_name":"andrejmaya/aws-email-newsletter","owner":"andrejmaya","description":"Receive AWS newsletter around news, announcements, blog posts and more","archived":false,"fork":false,"pushed_at":"2024-05-23T07:10:17.000Z","size":342,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T12:45:14.955Z","etag":null,"topics":["aws-lambda","aws-sam","aws-ses","cloudformation"],"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/andrejmaya.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":"2022-09-11T20:53:30.000Z","updated_at":"2024-06-14T00:35:59.000Z","dependencies_parsed_at":"2024-05-23T08:28:00.399Z","dependency_job_id":"9ee98002-b5b0-4736-acfc-6161d0b3253b","html_url":"https://github.com/andrejmaya/aws-email-newsletter","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/andrejmaya%2Faws-email-newsletter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-email-newsletter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-email-newsletter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrejmaya%2Faws-email-newsletter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrejmaya","download_url":"https://codeload.github.com/andrejmaya/aws-email-newsletter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245805966,"owners_count":20675291,"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":["aws-lambda","aws-sam","aws-ses","cloudformation"],"created_at":"2024-11-13T09:34:17.474Z","updated_at":"2026-01-06T14:46:50.540Z","avatar_url":"https://github.com/andrejmaya.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AWS Newsletter via E-Mail :mailbox:\n\n\n![AWS E-Mail Newsletter Architecture Diagram](./AWSEmailNewsletter.drawio.png)\n\n## Prerequisites :raising_hand:\n* Active AWS credentials\n* pip\n* [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)\n* SES in production mode (see [here](https://docs.aws.amazon.com/ses/latest/dg/request-production-access.html))\n* Verified Domains and/or E-Mail Id in SES (see [here](https://docs.aws.amazon.com/ses/latest/dg/creating-identities.html))\n\n## Installation :construction_worker:\n1. Install python modules:\n```\npip install -r src/newsletter_email/requirements.txt -t src/newsletter_email/dependencies/python\n```\n2. Run SAM deployment:\n````\nsam deploy --parameter-overrides \\\n\tEmailSender=noreply@stormfsi.de \\\n\t\"EmailWhitelistPattern=(^[a-zA-Z0-9_.+-]+@reply\\.(de|it|com|eu)$)\" \\\n\t\"MailFrequency=rate(7\\ days)\" \\\n\tCutoffDays=7 \\\n\tOpsEmailid=\u003cYOUR_OPS_EMAIL\u003e \\\n--guided\n````\n\nSee these example values for SAM:\n```\n\tStack Name [sam-app]: awsnewsletteremailer\n\tAWS Region [eu-central-1]:\n\tConfirm changes before deploy [y/N]: N\n\tAllow SAM CLI IAM role creation [Y/n]: Y\n\tDisable rollback [y/N]: N\n\tNewsletterSubscribersFunction may not have authorization defined, Is this okay? [y/N]: y\n\tSave arguments to configuration file [Y/n]: Y\n\tSAM configuration file [samconfig.toml]: \u003cENTER\u003e\n\tSAM configuration environment [default]: \u003cENTER\u003e\n```\n\n## Test locally\nFirst of all you need to set `export LOCAL_TEST=true`.\n\nThen create a virtual env and run the newsletter.py\n```\npython3 -m venv /tmp/python_venv\n. /tmp/python_venv/bin/activate\npip install -r src/newsletter_email/requirements.txt\ncd src/newsletter_email\npython newsletter.py\n```\n\n## Usage :running:\nOpen the URL given in the output of the SAM deployment. Enjoy! :sunglasses: :star2:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejmaya%2Faws-email-newsletter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrejmaya%2Faws-email-newsletter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrejmaya%2Faws-email-newsletter/lists"}