{"id":31073274,"url":"https://github.com/cosmo/azure_communication_email","last_synced_at":"2026-01-20T16:29:27.393Z","repository":{"id":313715913,"uuid":"1052353865","full_name":"Cosmo/azure_communication_email","owner":"Cosmo","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-08T09:13:36.000Z","size":23,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-09T10:18:50.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/Cosmo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-07T23:16:31.000Z","updated_at":"2025-09-23T14:58:08.000Z","dependencies_parsed_at":"2025-09-08T03:24:42.562Z","dependency_job_id":null,"html_url":"https://github.com/Cosmo/azure_communication_email","commit_stats":null,"previous_names":["cosmo/azure_communication_email"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Cosmo/azure_communication_email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2Fazure_communication_email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2Fazure_communication_email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2Fazure_communication_email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2Fazure_communication_email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cosmo","download_url":"https://codeload.github.com/Cosmo/azure_communication_email/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cosmo%2Fazure_communication_email/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607150,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":[],"created_at":"2025-09-16T01:16:47.408Z","updated_at":"2026-01-20T16:29:27.381Z","avatar_url":"https://github.com/Cosmo.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Azure Communication Email\n\nAzure Communication Email is an Action Mailer delivery method for Ruby on Rails using the [Azure Email Communications Service](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/create-email-communication-resource?pivots=platform-azp).\n\n## Installation\n\nInstall the gem and add to your application's Gemfile by executing:\n\n```bash\nbundle add azure_communication_email\n```\n\nOr add it manually to your Gemfile:\n\n```ruby\ngem \"azure_communication_email\"\n```\n\n## Usage\n\nTo send emails using Azure Communication Services, configure Action Mailer with the `:azure_communication_email` delivery method and provide the necessary credentials.\n\n```ruby\n# config/environments/production.rb\n\nRails.application.configure do\n  config.action_mailer.delivery_method = :azure_communication_email\n  config.action_mailer.azure_communication_email_settings = {\n    endpoint:   ENV.fetch(\"ACS_EMAIL_ENDPOINT\"), # e.g., \"https://\u003cRESOURCE_NAME\u003e.communication.azure.com\"\n    access_key: ENV.fetch(\"ACS_EMAIL_ACCESS_KEY\"),\n  }\nend\n```\n\nThen, you can use Action Mailer as usual:\n\n```ruby\nclass UserMailer \u003c ApplicationMailer\n  def welcome_email(user)\n    @user = user\n    mail(to: @user.email, from: \"donotreply@\u003cyourdomain\u003e.com\", subject: \"Hello World!\")\n  end\nend\n```\n\n## Links\n\n- [Service limits for Azure Communication Services](https://learn.microsoft.com/en-us/azure/communication-services/concepts/service-limits#email)\n- [How to add and remove Multiple Sender Addresses to Email Communication Service](https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/email/add-multiple-senders?pivots=platform-azp)\n\n## Contributing\n\nBug reports and pull requests are welcome.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fazure_communication_email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcosmo%2Fazure_communication_email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcosmo%2Fazure_communication_email/lists"}