{"id":31250401,"url":"https://github.com/pagedotapp/template-email-infrastructure","last_synced_at":"2025-09-23T05:07:14.565Z","repository":{"id":93060137,"uuid":"321904291","full_name":"pagedotapp/template-email-infrastructure","owner":"pagedotapp","description":null,"archived":false,"fork":false,"pushed_at":"2021-01-28T14:51:52.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-08-30T06:47:10.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/pagedotapp.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":"2020-12-16T07:32:57.000Z","updated_at":"2021-01-28T14:51:55.000Z","dependencies_parsed_at":"2023-06-04T13:45:26.349Z","dependency_job_id":null,"html_url":"https://github.com/pagedotapp/template-email-infrastructure","commit_stats":null,"previous_names":["featuredotapp/template-email-infrastructure","simpledotstudio/template-email-infrastructure","pagedotapp/template-email-infrastructure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pagedotapp/template-email-infrastructure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagedotapp%2Ftemplate-email-infrastructure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagedotapp%2Ftemplate-email-infrastructure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagedotapp%2Ftemplate-email-infrastructure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagedotapp%2Ftemplate-email-infrastructure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pagedotapp","download_url":"https://codeload.github.com/pagedotapp/template-email-infrastructure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pagedotapp%2Ftemplate-email-infrastructure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276518809,"owners_count":25656497,"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","status":"online","status_checked_at":"2025-09-23T02:00:09.130Z","response_time":73,"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":"2025-09-23T05:07:12.248Z","updated_at":"2025-09-23T05:07:14.549Z","avatar_url":"https://github.com/pagedotapp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mailscript templates: email infrastructure\n\nYou can use this setup to manage a team's email infrastructure: define individual email addresses, define team addresses, define email routing, configure notifications to other channels, etc.\n\n## Usage\n\nThe two important files are `config.yml` and `deploy.yml`.\n\n- `config.yml` defines the Mailscript setup\n- `deploy.yml` defines a GitHub action to sync changes to the Mailscript's db whenever it is run.\n\nThe config.yml contains the variables `$username`, which will substitute you mailscript username (i.e. \u003cusername\u003e@mailscript.com), and `$account-email-address` which will substitute the email address used when signing up to mailscript. Replace the `$account-email-address` variable if you would like to use a different address.\n\nWe recommend using the `deploy.yml` file in a GitHub action when changes are pushed to a repo's `main` branch.\n\n## API_KEY\n\n`deploy.yml` expects a secret value for `API_KEY`. This is the same token you get when you complete the login flow in the CLI using the `--offline` parameter (`mailscript login --offline`).\n\n### .env\n\nThis repo includes a `.env` file to tell the CLI where to find the file with the `API_KEY` so it should be included in your own repo to ensure the sync process is successful.\n\n## Considerations\n\n**aliases**\n\nBefore being able to configure redirections to a different address it has to be verified, or else the sync will error. To do so you have to manually trigger the creation of a workflow setting a redirect to this address:\n\n```sh\nmailscript actions:add \\\n  --name email-alias-to-external-address \\\n  --alias external@example.com \n\nmailscript workflows:add \\\n  --name \"redirect to external@example.com\" \\\n  --input \u003cusername\u003e@mailscript.com \\\n  --trigger address@mailscript.com \\\n  --alias email-alias-to-external-address\n```\n\nThe previous command will trigger a verify process. Once you've successfully verified the external address you account will be able to use it for all redirects - and the automatic sync will complete.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagedotapp%2Ftemplate-email-infrastructure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpagedotapp%2Ftemplate-email-infrastructure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpagedotapp%2Ftemplate-email-infrastructure/lists"}