{"id":19026838,"url":"https://github.com/psolbach/node-mailjet","last_synced_at":"2026-06-21T15:31:47.934Z","repository":{"id":35563951,"uuid":"39835912","full_name":"psolbach/node-mailjet","owner":"psolbach","description":"Bindings for Mailjet API","archived":false,"fork":false,"pushed_at":"2015-07-29T07:43:43.000Z","size":132,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-01T05:31:13.845Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/psolbach.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}},"created_at":"2015-07-28T13:36:43.000Z","updated_at":"2023-03-10T09:34:44.000Z","dependencies_parsed_at":"2022-08-30T03:21:41.737Z","dependency_job_id":null,"html_url":"https://github.com/psolbach/node-mailjet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/psolbach/node-mailjet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psolbach%2Fnode-mailjet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psolbach%2Fnode-mailjet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psolbach%2Fnode-mailjet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psolbach%2Fnode-mailjet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psolbach","download_url":"https://codeload.github.com/psolbach/node-mailjet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psolbach%2Fnode-mailjet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34616509,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-21T02:00:05.568Z","response_time":54,"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":"2024-11-08T20:50:52.914Z","updated_at":"2026-06-21T15:31:47.911Z","avatar_url":"https://github.com/psolbach.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mailjet-newsletter API\nThis library permits to create and send newsletter campaigns using Mailjet's v3 API in Node.js. MIT licensed.\nFavors [Request](https://github.com/request/request) over standard http. Based on Mailjet's binding stub.\n\n## Installation\nNeeds [Request](https://github.com/request/request), cf. package.json\n\n## Actions\nInitialize like you would with the sendemail stub.\n```javascript\nvar Mailjet = require('mailjet-newsletter');\nvar mailjet = new Mailjet('apiKey', 'secretKey');\n```\n\nThen choose from a bunch of endpoints and pass in the proper options object. e.g.:\n```javascript\n\n// Create\nvar opts = {\n  \"Locale\": \"en_US\" ,\n  \"SenderName\": \"JohnDoe\",\n  \"SenderEmail\": \"john@doe.com\",\n  \"Sender\": \"John Doe\",\n  \"ContactsListID\": 1234,\n  \"EditMode\": \"html\",\n  \"Subject\": \"Campaign\",\n  \"Title\": \"Campaign\"\n}\n\nmailjet.newsletter(\"create\", opts, error, callback);\n\n// Add Content\nvar opts = {\n  \"Text-part\": \"foo\",\n  \"Html-part\": \"\u003cbar\u003efoo\u003c/bar\u003e\",\n  \"id\": 1234\n}\n\nmailjet.newsletter(\"detailcontent\", opts, error, callback)\n\n// Send\nvar opts = {\"method\": \"POST\", \"id\": 1234};\nmailjet.newsletter(\"send\", opts, error, callback)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsolbach%2Fnode-mailjet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsolbach%2Fnode-mailjet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsolbach%2Fnode-mailjet/lists"}