{"id":44816053,"url":"https://github.com/juliakalder/templatewing","last_synced_at":"2026-04-16T23:03:34.335Z","repository":{"id":338710107,"uuid":"1158810900","full_name":"JuliaKalder/TemplateWing","owner":"JuliaKalder","description":"An easy-to-use template management add-on for Mozilla Thunderbird.","archived":false,"fork":false,"pushed_at":"2026-03-31T11:04:30.000Z","size":313,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-31T13:10:48.534Z","etag":null,"topics":["email-templates","mailextension","thunderbird","thunderbird-addon","webextension"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuliaKalder.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":"docs/roadmap-beyond-v2.0-2026-02-to-2026-04.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-16T00:00:52.000Z","updated_at":"2026-03-08T17:25:51.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JuliaKalder/TemplateWing","commit_stats":null,"previous_names":["juliakalder/templatewing"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/JuliaKalder/TemplateWing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaKalder%2FTemplateWing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaKalder%2FTemplateWing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaKalder%2FTemplateWing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaKalder%2FTemplateWing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuliaKalder","download_url":"https://codeload.github.com/JuliaKalder/TemplateWing/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuliaKalder%2FTemplateWing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31907728,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["email-templates","mailextension","thunderbird","thunderbird-addon","webextension"],"created_at":"2026-02-16T18:04:35.997Z","updated_at":"2026-04-16T23:03:34.329Z","avatar_url":"https://github.com/JuliaKalder.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TemplateWing\r\n\r\nAn easy-to-use template management add-on for Mozilla Thunderbird (128+).\r\n\r\n[![Available on Thunderbird Add-ons](https://img.shields.io/badge/Thunderbird_Add--ons-TemplateWing-blue)](https://addons.thunderbird.net/thunderbird/addon/templatewing/)\r\n\r\nSave and reuse email templates — including file attachments — directly from the compose window.\r\n\r\n## Screenshots\r\n\r\n| Template selection | Context menu |\r\n|---|---|\r\n| ![Template selection](screenshots/template-selection.png) | ![Context menu](screenshots/context-menu.png) |\r\n\r\n| Manage templates | Template editor |\r\n|---|---|\r\n| ![Options page](screenshots/options-page.png) | ![Template editor](screenshots/template-editor.png) |\r\n\r\n## Features\r\n\r\n- **Rich text editor** — Create templates with bold, italic, underline, lists, headings, and quotes\r\n- **File attachments** — Attach files to templates; they are stored with the template and added automatically when inserting\r\n- **One-click insert** — Insert templates via the toolbar button in the compose window or the right-click context menu\r\n- **Subject, recipients \u0026 insertion mode** — Set a default subject, To/Cc/Bcc addresses, and choose whether the template appends to or replaces the current message body\r\n- **Categories** — Organise templates into categories and filter by them in both the popup and the options page\r\n- **Variables** — Use `{DATE}`, `{TIME}`, `{DATETIME}`, `{YEAR}`, `{WEEKDAY}`, `{SENDER_NAME}`, `{SENDER_EMAIL}`, `{ACCOUNT_NAME}`, and `{ACCOUNT_EMAIL}` in subject or body; they are resolved on insert. Click a variable chip in the editor to insert it at the cursor\r\n- **Keyboard shortcuts** — Insert your first 9 templates with `Ctrl+Shift+1` – `Ctrl+Shift+9` directly from the compose window\r\n- **Recent templates first** — The popup sorts by most recently used, so your go-to templates are always at the top; the options page shows a usage count per template\r\n- **Import / Export with merge modes** — Back up all templates as a JSON file and restore or share them on any device. On import, choose to *add all*, *skip duplicates*, or *update existing by name*, with a pre-import validation summary\r\n- **Recipient validation** — To, Cc, and Bcc fields are validated on save so typos are caught before insertion\r\n- **Paste sanitization** — Toggle \"Paste as plain text\" in the editor toolbar to strip formatting from pasted content\r\n- **Duplicate name check** — Prevents saving a template with the same name as an existing one\r\n- **Attachment guardrails** — Large-file warnings per attachment and total size indicator; per-file error handling during insertion\r\n- **Storage schema versioning** — Automatic data migration keeps templates intact across add-on updates\r\n- **Save from email** — Right-click any message in the message list → *Save as Template* to create a template pre-filled with subject and body\r\n- **Dark mode** — Follows the system colour scheme automatically\r\n- **Localized** — Full English and German localization; community translations for French, Spanish, Italian, Portuguese, and Dutch\r\n\r\n## Installation\r\n\r\n### From Thunderbird Add-ons (ATN)\r\n\r\n1. Visit the [TemplateWing page on Thunderbird Add-ons](https://addons.thunderbird.net/thunderbird/addon/templatewing/)\r\n2. Click **Add to Thunderbird**\r\n\r\n### Manual installation\r\n\r\n1. Download the latest `.xpi` file from the [Releases](https://github.com/JuliaKalder/TemplateWing/releases) page\r\n2. In Thunderbird: Menu (≡) → Add-ons and Themes (`Ctrl+Shift+A`)\r\n3. Gear icon (⚙) → Install Add-on From File… → select the `.xpi` file\r\n\r\n## Usage\r\n\r\n1. Open a new compose window\r\n2. Click the **TemplateWing icon** in the toolbar to see your templates\r\n3. Click **Insert** to apply a template — or use `Ctrl+Shift+1`–`9` for the first nine\r\n4. Click **Manage Templates…** to create, edit, or delete templates\r\n\r\nTemplates can also be inserted via the **right-click context menu** in the compose body.\r\n\r\nTo create a template from an existing email, **right-click a message** in the message list and choose **Save as Template**.\r\n\r\n## Development\r\n\r\n### Load as temporary add-on\r\n\r\n1. Open Thunderbird → Menu (≡) → Add-ons and Themes (`Ctrl+Shift+A`)\r\n2. Gear icon (⚙) → Debug Add-ons\r\n3. **Load Temporary Add-on…** → select `manifest.json`\r\n4. Click **Inspect** next to the add-on for console/debugging\r\n\r\nReload after changes by clicking **Reload** on the Debug Add-ons page (no restart needed).\r\n\r\n### Build XPI\r\n\r\n```powershell\r\npowershell -ExecutionPolicy Bypass -File build-xpi.ps1\r\n```\r\n\r\nThis creates `templatewing-\u003cversion\u003e.xpi` in the parent directory.\r\n\r\nAlternatively, on any OS with `zip` installed:\r\n\r\n```bash\r\nzip -r ../templatewing.xpi manifest.json background.html background.js \\\r\n  LICENSE modules/ popup/ options/ images/ _locales/ \\\r\n  -x \".*\" -x \"*.md\" -x \"build-xpi.ps1\" -x \"tests/*\" -x \"scripts/*\" \\\r\n  -x \"package.json\" -x \"node_modules/*\"\r\n```\r\n\r\n### Project structure\r\n\r\n```\r\nmanifest.json               — Extension manifest (Manifest V2)\r\nbackground.html             — Background page (loads background.js)\r\nbackground.js               — Context menu, storage listeners\r\nmodules/template-store.js   — CRUD operations over storage.local\r\nmodules/template-insert.js  — Variable replacement, nested templates, insertion\r\nmodules/validation.js       — Recipient/import validation helpers\r\npopup/popup.html|css|js     — Compose-action popup (template list \u0026 insert)\r\noptions/options.html|css|js  — Options page (template editor)\r\nimages/                     — Extension icons (SVG source + 16/32/64/128 PNG)\r\n_locales/{en,de,fr,es,it,pt,nl}/ — Localization strings\r\ntests/                      — Unit tests (Node.js built-in test runner)\r\n```\r\n\r\nNo build step, no bundler, no external dependencies — just vanilla ES6 modules.\r\n\r\n## Privacy\r\n\r\nTemplateWing stores all data locally on your device using Thunderbird's built-in storage API. No data is collected, transmitted to external servers, or shared with third parties.\r\n\r\n## License\r\n\r\n[Mozilla Public License 2.0](LICENSE)\r\n\r\n## Contributing\r\n\r\nFound a bug or have an idea? [Open an issue](https://github.com/JuliaKalder/TemplateWing/issues) — constructive feedback is always welcome!\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliakalder%2Ftemplatewing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjuliakalder%2Ftemplatewing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjuliakalder%2Ftemplatewing/lists"}