{"id":15033269,"url":"https://github.com/activecampaign/postmark-templates","last_synced_at":"2026-01-25T07:35:41.794Z","repository":{"id":35730996,"uuid":"40009560","full_name":"ActiveCampaign/postmark-templates","owner":"ActiveCampaign","description":"Rock-solid transactional email templates for applications.","archived":false,"fork":false,"pushed_at":"2023-04-02T06:24:38.000Z","size":417,"stargazers_count":2990,"open_issues_count":8,"forks_count":1102,"subscribers_count":70,"default_branch":"main","last_synced_at":"2024-05-21T01:05:01.079Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://postmarkapp.com/transactional-email-templates","language":"HTML","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/ActiveCampaign.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":null,"support":null,"governance":null}},"created_at":"2015-07-31T14:37:56.000Z","updated_at":"2024-05-17T08:48:31.000Z","dependencies_parsed_at":"2022-07-09T16:16:56.148Z","dependency_job_id":null,"html_url":"https://github.com/ActiveCampaign/postmark-templates","commit_stats":null,"previous_names":["wildbit/postmark-templates"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Fpostmark-templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Fpostmark-templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Fpostmark-templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActiveCampaign%2Fpostmark-templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActiveCampaign","download_url":"https://codeload.github.com/ActiveCampaign/postmark-templates/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245474659,"owners_count":20621448,"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":[],"created_at":"2024-09-24T20:20:33.150Z","updated_at":"2026-01-25T07:35:41.762Z","avatar_url":"https://github.com/ActiveCampaign.png","language":"HTML","funding_links":[],"categories":["🧰 工具列表"],"sub_categories":["邮件服务"],"readme":"\u003cimg src=\"https://newsletter.postmarkapp.com/assets/images/open-source/templates-logo@2x.png\" alt=\"Postmark Transactional Email Templates\" width=\"148\" height=\"148\" align=\"right\"\u003e\n\n# Postmark Transactional Email Templates\nBrought to you by\n\u003ca href=\"http://postmarkapp.com\"\u003e\u003cimg src=\"https://newsletter.postmarkapp.com/assets/images/pm_logo@2x.png\" alt=\"Postmark\" width=\"100\"\u003e\u003c/a\u003e\n\n**Content ready, mobile friendly, and beautiful across all major email clients.**\n\n#### What's this for?\n\n*Postmark Transactional Email Templates* are rock-solid email templates that render beautifully in tons of email clients. They provide the foundation of our [Postmark Templates](https://postmarkapp.com/blog/special-delivery-postmark-templates) feature, and we're glad to provide them as Open Source to the wider community.\n\nThese templates are built and maintained using [MailMason](https://github.com/activecampaign/mailmason), a grunt-based framework to help streamline the process of developing, testing, and maintaining a set of related transactional email templates. If you want to create or customize your own set of email templates, you can use MailMason to extend the existing emails or start from scratch to build an entirely new set.\n\n## CSS \u0026 Inlining\n\nThere are two sets of templates here. The first set is in the `/templates` folder and contains the base templates with the CSS all contained in a style block. In this state, they're easier to edit, but they'll have limited compatibility with email clients. The other set in `/templates-inlined` has the same templates but with the CSS already inlined. They'll be a bit more tedious to make changes to, but you won't need to use anything to inline the CSS.\n\n### Inline the CSS\nFor client compatibility, HTML emails should always be inlined before sending. Here are a couple of tools for doing that:\n\n* [Postmark Style Merge](https://github.com/activecampaign/style-merge)\n* [Premailer](https://github.com/premailer/premailer)\n\nIf you choose to send your emails with [Postmark](http://postmarkapp.com), each time you send we will automagically inline the CSS for you.\n\n## The Templates\n\nEach template comes in three different generic layout variations: Basic, Basic full, and Plain. This gives you a starting point so that you can customize your templates to match your brand.\n\n\u003cimg src=\"https://github.com/activecampaign/postmark-templates/raw/main/media/starter-templates@2x.png\" max-width=\"100%\" alt=\"Starter templates side-by-side: Basic, basic full, and plain\"\u003e\n\u003cimg src=\"https://github.com/activecampaign/postmark-templates/raw/main/media/dark-mode@2x.png\" max-width=\"100%\" alt=\"Dark mode compatibility\"\u003e\n\n\n### Welcome\n\n  Send a welcome email to users after they sign up.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/welcome/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/welcome/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/welcome/content.html)\n  * 📔 [Welcome email best practices guide](https://postmarkapp.com/guides/welcome-email-best-practices)\n\n### Reset Password\n\n  Send users a link to reset their password.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/password-reset/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/password-reset/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/password-reset/content.html)\n  * 📔 [Reset password best practices guide](https://postmarkapp.com/guides/password-reset-email-best-practices)\n\n### Reset Password Help\n\n  Help users reset their password if they can’t remember their email.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/password-reset-help/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/password-reset-help/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/password-reset-help/content.html)\n  * 📔 [Reset password best practices guide](https://postmarkapp.com/guides/password-reset-email-best-practices)\n\n### Receipt\n\n  Send a receipt to users after they made a purchase.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/receipt/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/receipt/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/receipt/content.html)\n  * 📔 [Receipt and invoices best practices guide](https://postmarkapp.com/guides/receipt-and-invoice-email-best-practices)\n\n### Invoice\n\n  Request payment from a user.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/invoice/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/invoice/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/invoice/content.html)\n  * 📔 [Receipt and invoices best practices guide](https://postmarkapp.com/guides/receipt-and-invoice-email-best-practices)\n\n### Dunning\n\nLet users know about a failed payment\n\n* 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/dunning/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/dunning/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/dunning/content.html)\n* 📔 [Dunning best practices guide](https://postmarkapp.com/guides/dunning)\n\n### Comment notification\n\nNotify users of new comments by other users.\n\n**Note:** Comment notification isn't the prettiest preview because it's just [Mustachio](https://github.com/activecampaign/mustachio). Since almost all content in this email is dynamic, it won't look good without real content. Don't worry though, that's how it's supposed to look.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/comment-notification/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/comment-notification/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/comment-notification/content.html)\n  * 📔 [Comment notification best practices guide](https://postmarkapp.com/guides/comment-notification-email-best-practices)\n\n### Trial Expiring\n\n  Let users know when their trial is about to expire.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/trial-expiring/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/trial-expiring/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/trial-expiring/content.html)\n  * 📔 [Trial expiration email best practices](https://postmarkapp.com/guides/trial-expiration-email-best-practices)\n\n### Trial Expired\n\n  Let users know when their expired trial.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/trial-expired/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/trial-expired/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/trial-expired/content.html)\n  * 📔 [Trial expiration email best practices](https://postmarkapp.com/guides/trial-expiration-email-best-practices)\n\n### User Invitation\n\n  Help users invite others to use your software.\n\n  * 💌 Preview with layout: [Basic](https://newsletter.postmarkapp.com/assets/templates/dist/basic/user-invitation/content.html), [Basic full](https://newsletter.postmarkapp.com/assets/templates/dist/basic-full/user-invitation/content.html), [Plain](https://newsletter.postmarkapp.com/assets/templates/dist/plain/user-invitation/content.html)\n  * 📔 [User invitation email best practices](https://postmarkapp.com/guides/user-invitation-email-best-practices)\n\n\nWe've also made sure that these have been tested for consistency in the following email clients:\n\n* Desktop\n  * Apple Mail 9, 10, 11\n  * Outlook 2007, 2010, 2011, 2013, 2016\n  * Windows 10 Mail\n* Mobile\n  * Gmail App (Android)\n  * iPhones 6, 7, 8, SE, X\n  * iPad (Retina)\n  * iPad Mini\n  * iPad Pro\n* Web\n  * AOL\n  * Gmail\n  * Outlook.com\n  * Yahoo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivecampaign%2Fpostmark-templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factivecampaign%2Fpostmark-templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factivecampaign%2Fpostmark-templates/lists"}