{"id":18952304,"url":"https://github.com/step-security/action-send-mail","last_synced_at":"2026-03-29T03:30:18.279Z","repository":{"id":244262005,"uuid":"814614711","full_name":"step-security/action-send-mail","owner":"step-security","description":" A GitHub Action to send an email to multiple recipients","archived":false,"fork":false,"pushed_at":"2025-01-21T15:27:38.000Z","size":375,"stargazers_count":0,"open_issues_count":11,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-21T16:32:41.920Z","etag":null,"topics":["step-security-maintained-actions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/step-security.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T10:58:34.000Z","updated_at":"2024-10-03T05:34:49.000Z","dependencies_parsed_at":"2024-11-08T13:38:38.923Z","dependency_job_id":"2905321d-6f2c-454a-b389-ac4348d657ed","html_url":"https://github.com/step-security/action-send-mail","commit_stats":null,"previous_names":["step-security/action-send-mail"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Faction-send-mail","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Faction-send-mail/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Faction-send-mail/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Faction-send-mail/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/step-security","download_url":"https://codeload.github.com/step-security/action-send-mail/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239951639,"owners_count":19723912,"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":["step-security-maintained-actions"],"created_at":"2024-11-08T13:32:42.151Z","updated_at":"2026-03-29T03:30:18.175Z","avatar_url":"https://github.com/step-security.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Send mail GitHub Action\n\nAn action that simply sends a mail to multiple recipients.\n\nSome features:\n- plain text body\n- HTML body\n- multipart body (plain text + HTML)\n- Markdown to HTML converting (use `html_body`, not `body`)\n- file attachments (supports globbing)\n\n\n## Usage\n\n```yaml\n- name: Send mail\n  uses: step-security/action-send-mail@v3\n  with:\n    # Specify connection via URL (replaces server_address, server_port, secure,\n    # username and password)\n    #\n    # Format:\n    #\n    #  * smtp://user:password@server:port\n    #  * smtp+starttls://user:password@server:port\n    connection_url: ${{secrets.MAIL_CONNECTION}}\n    # Required mail server address if not connection_url:\n    server_address: smtp.gmail.com\n    # Server port, default 25:\n    server_port: 465\n    # Optional whether this connection use TLS (default is true if server_port is 465)\n    secure: true\n    # Optional (recommended) mail server username:\n    username: ${{secrets.MAIL_USERNAME}}\n    # Optional (recommended) mail server password:\n    password: ${{secrets.MAIL_PASSWORD}}\n    # Required mail subject:\n    subject: Github Actions job result\n    # Required recipients' addresses:\n    to: obiwan@example.com,yoda@example.com\n    # Required sender full name (address can be skipped):\n    from: Luke Skywalker # \u003cuser@example.com\u003e\n    # Optional plain body:\n    body: Build job of ${{github.repository}} completed successfully!\n    # Optional HTML body read from file:\n    html_body: file://README.html\n    # Optional carbon copy recipients:\n    cc: kyloren@example.com,leia@example.com\n    # Optional blind carbon copy recipients:\n    bcc: r2d2@example.com,hansolo@example.com\n    # Optional recipient of the email response:\n    reply_to: luke@example.com\n    # Optional Message ID this message is replying to:\n    in_reply_to: \u003crandom-luke@example.com\u003e\n    # Optional unsigned/invalid certificates allowance:\n    ignore_cert: true\n    # Optional converting Markdown to HTML (set content_type to text/html too):\n    convert_markdown: true\n    # Optional attachments:\n    attachments: attachments.zip,git.diff,./dist/static/*.js\n    # Optional priority: 'high', 'normal' (default) or 'low'\n    priority: low\n    # Optional nodemailerlog: true/false\n    nodemailerlog: false\n    # Optional nodemailerdebug: true/false if true lognodem will also be set true\n    nodemailerdebug: false\n```\n\n## Troubleshooting\n\n### Gmail\n\nInstead of using your normal Google password, use an App password.\n\n1. [Enable 2-Step Verification.](https://support.google.com/accounts/answer/185839?hl=en\u0026co=GENIE.Platform%3DAndroid).\nThis is needed to create an App password.\n2. [Create an App password](https://support.google.com/accounts/answer/185833?hl=en) for `Mail`.\n\n### Unauthenticated login (username/password fields)\n\nThe parameters `username` and `password` are set as optional to support self-hosted runners access to on-premise infrastructure. If\nyou are accessing public email servers make sure you provide a username/password authentication through [GitHub Secrets](https://docs.github.com/en/actions/reference/encrypted-secrets) to make the email delivery secure.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Faction-send-mail","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstep-security%2Faction-send-mail","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Faction-send-mail/lists"}