{"id":18455150,"url":"https://github.com/adamgibbons/serverless-mailer","last_synced_at":"2026-04-18T17:36:49.320Z","repository":{"id":66154983,"uuid":"106115776","full_name":"adamgibbons/serverless-mailer","owner":"adamgibbons","description":null,"archived":false,"fork":false,"pushed_at":"2017-10-09T17:58:09.000Z","size":3,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-21T11:48:28.948Z","etag":null,"topics":["aws-lambda","aws-ses","email-sender","mailer","node-mailer","nodejs","serverless","serverless-framework"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/adamgibbons.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":"2017-10-07T17:11:02.000Z","updated_at":"2019-01-29T20:10:32.000Z","dependencies_parsed_at":"2023-04-01T16:07:21.345Z","dependency_job_id":null,"html_url":"https://github.com/adamgibbons/serverless-mailer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adamgibbons/serverless-mailer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamgibbons%2Fserverless-mailer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamgibbons%2Fserverless-mailer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamgibbons%2Fserverless-mailer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamgibbons%2Fserverless-mailer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamgibbons","download_url":"https://codeload.github.com/adamgibbons/serverless-mailer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamgibbons%2Fserverless-mailer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31978575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T17:30:12.329Z","status":"ssl_error","status_checked_at":"2026-04-18T17:29:59.069Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws-lambda","aws-ses","email-sender","mailer","node-mailer","nodejs","serverless","serverless-framework"],"created_at":"2024-11-06T08:07:17.652Z","updated_at":"2026-04-18T17:36:49.302Z","avatar_url":"https://github.com/adamgibbons.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serverless-mailer\n\nSend email using Serverless and several AWS products (Lambda, SES, API Gateway).\n\n## Install and setup\n\nClone the Github repo:\n```bash\ngit clone git@github.com:adamgibbons/serverless-mailer.git\n```\n\nChange into the project's directory and install dependencies\n```bash\ncd serverless-mailer \u0026\u0026 npm install\n```\n\nRename `config.copy.json` to `config.json`.\n```bash\nmv config.copy.json config.json\n```\n\nOpen `config.json` and add your AWS credentials for the `accessKeyId` and `secretAccessKey` fields.\n*Note - this file won't be tracked by Git or published to Github.*\n\n## Deploy and use\n\nDeploy to serverless:\n```bash\nsls deploy -v\n```\n\nOnce the package has deployed, Serverless will write log information to the terminal,\nincluding a POST endpoint.\nSend a POST request to that endpoint with a JSON body.\n\nFull request body structure:\n```json\n{\n  \"bccEmailAddresses\": [\"foo@example.com\"],\n  \"ccEmailAddresses\": [\"bar@example.com\"],\n  \"toEmailAddresses\": [\"baz@example.com\"],\n  \"bodyData\": \"...and email goes here!\",\n  \"bodyCharset\": \"UTF-8\",\n  \"subjectdata\": \"Subject goes here\",\n  \"subjectCharset\": \"UTF-8\",\n  \"sourceEmail\": \"baz@example.com\",\n  \"replyToAddresses\": [\"baz@example.com\"]\n}\n```\n\nCurl example:\n\n```bash\ncurl -d '{\"toEmailAddresses\":[\"recipient@example.com\"], \"subjectdata\":\"bar\", \"sourceEmail\":\"sam.morse@example.com\", \"bodyData\":\"What hath God wrought?\"}' -H \"Content-Type: application/json\" -X POST https://\u003creplace-with-your-endpoint\u003e.execute-api.us-east-1.amazonaws.com/dev/send\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamgibbons%2Fserverless-mailer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamgibbons%2Fserverless-mailer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamgibbons%2Fserverless-mailer/lists"}