{"id":18942594,"url":"https://github.com/sparrowxiao/html-email-template","last_synced_at":"2025-10-15T00:53:54.096Z","repository":{"id":152121432,"uuid":"172584544","full_name":"sparrowxiao/HTML-Email-Template","owner":"sparrowxiao","description":"Very Basic HTML Email Template","archived":false,"fork":false,"pushed_at":"2019-07-23T20:37:12.000Z","size":75,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T18:41:33.531Z","etag":null,"topics":["command-line-tool","email-marketing","email-template","jenkins-pipeline","sendemail"],"latest_commit_sha":null,"homepage":null,"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/sparrowxiao.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-25T21:04:43.000Z","updated_at":"2020-07-29T19:47:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"363944e8-172c-468a-aaa5-dda180a563d6","html_url":"https://github.com/sparrowxiao/HTML-Email-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/sparrowxiao/HTML-Email-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowxiao%2FHTML-Email-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowxiao%2FHTML-Email-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowxiao%2FHTML-Email-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowxiao%2FHTML-Email-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparrowxiao","download_url":"https://codeload.github.com/sparrowxiao/HTML-Email-Template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparrowxiao%2FHTML-Email-Template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266454891,"owners_count":23931348,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["command-line-tool","email-marketing","email-template","jenkins-pipeline","sendemail"],"created_at":"2024-11-08T12:33:33.206Z","updated_at":"2025-10-15T00:53:49.050Z","avatar_url":"https://github.com/sparrowxiao.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [![Build Status](https://img.shields.io/travis/fatih/color.svg?style=flat-square)](https://travis-ci.org/fatih/color)\n\n## This template includes\n- [x] Full width image (responsible UX)\n- [x] Two columns layout (responsible UX)\n- [x] Three columns layout (hybrid UX)\n- [x] Bulletproof buttons style\n- [x] Send email automatically \n- [x] Test email with Jenkins\n\n## Screenshot of this HTML email template\n![screencapture-file-Users-ting-Downloads-HTML-Email-Template-master-2-01-standard-template-html-2019-05-17-14_48_24](https://user-images.githubusercontent.com/2945947/57949920-bbfe6000-78b3-11e9-8aeb-2e471404f9de.png)\n\n## HTML Email Troubleshooting\n1. - [x] don't be panic first, deeply breath and go through this bug check list and check some useful notes here. \n\n   - [ ] Couldn't achieve the responsible font size on different screen.\u003cbr/\u003eCheck the image added in the email template, sometimes the image increase the max-width of the template and the email client cannot do the media requirement correctly.\n\n2. #### Special Issues on Outlook\n  - [x] Outlook2007-2016 on Windows 7 the bullet indent is not right.\u003cbr/\u003e  Using the inline sytle mso-special-format:bullet can fix it.\n  - [x] Outlook2007-2013 on Windows(7-10) Image shown up in real size. For example if the header image is 1180x400, then this image will break the max-width of the mail 600 px. \u003cbr/\u003e\n  Using the right size of the image is important while creating the email HTML.\n  - [ ] Outlook2007-2013 on Windows(7-10) some copy has been cut off.\n\n3. #### Special Issues on Pardot\n  - [x] Pardot render all the http or https link into the track link for analysis in its platform. So in order to avoid the webfont links treated as track link just put it in \u003cstyle\u003e tag.\n\n## SendEmail service on MacOS\n- [x] I personally don't like the test email feature from Pardot, since it is too too slow, local server might be pretty fast. Use command line here can make life much easier. Here is my try, installed SendEmail service on MacOS.\n\n```\nbrew SendEmail\n```\n\n\u003e /usr/local/Cellar/sendemail/1.56/bin/sendEmail -f yoursender@gmail.com -t yourRecipient@gmail.com \u003c youttestemail.html -s smtp.gmail.com:587 -xu youraccount@gmail.com -xp password\n\n- [x] Jenkins pipeline service is perfect to test the created template on your own email client, and the speed is extreamly fast. \nIf you never use it before, you can follow [this post](https://medium.com/@gustavo.guss/jenkins-sending-email-on-post-build-938b236545d2) to configure the Jenkins Email plugins, then create the pipeline and configure it as the screenshot, then add the script to the pipeline part and build it.\n\n## Email Test with Jenkins pipeline settings\n![screencapture-file-Jenkins-pipeline-settings](https://user-images.githubusercontent.com/2945947/58354564-de5a2580-7e3f-11e9-818a-a38afcef1464.png)\n\n```\npipeline {\n   agent any\n    stages {\n        stage('clone repo and clean it'){\n            steps{\n                sh \"rm -rf HTML-Email-Template\"\n                sh \"git clone https://github.com/sparrowxiao/HTML-Email-Template.git\"\n            }\n        }\n        stage('Ok') {\n            steps {\n                echo \"Ok\"\n            }\n        }\n    }\n    post {\n        always {\n            emailext mimeType: 'text/html', \n            body: '${FILE,path=\"/Users/Shared/Jenkins/Home/workspace/send-test-email/HTML-Email-Template/01-standard-template.html\"}', recipientProviders: [[$class: 'DevelopersRecipientProvider'], [$class: 'RequesterRecipientProvider']], subject: 'Test'\n        }\n    }\n  \n}\n```\n\n## **Good Marketing Email Service**\n\n   - [Litmus](https://litmus.com): I like their email render feature\n  \n   - [Campaign Monitor](https://www.campaignmonitor.com): I like their resource section\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowxiao%2Fhtml-email-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparrowxiao%2Fhtml-email-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparrowxiao%2Fhtml-email-template/lists"}