FroshPlatformTemplateMail

Use mail templates from theme

by Friends of Shopware



"Use mail templates from theme" is the official open-source plugin developed by Friends of Shopware. This extension allows you to host your email templates within your active storefront theme instead of relying on the database.

By moving email templates to the file system, customizations can be properly versioned and integrated into standardized deployment workflows. The plugin leverages the power of Twig inheritance and natively supports MJML for building high-quality, responsive email layouts.

Key Features at a Glance

  • Store and manage email templates directly within the theme's directory.
  • Use Twig features like template inheritance, blocks, and includes for emails.
  • Translate email content using standard Shopware snippets.
  • Direct access to active theme configuration settings within templates.
  • Built-in MJML support for creating responsive email designs.
  • CLI command to export existing database templates to the theme's file system.
  • Simplified deployment through file-based template management.
  • Seamless integration with the Shopware 6 ecosystem.
  • Open-source extension for Shopware 6.

Important Notice

Please be aware that the test email functionality in the Shopware Administration does not currently support templates that have been overridden via the theme.

This extension is ideal for developers, agencies, and merchants who want to manage their email templates as code, improve their version control, and utilize modern design standards like MJML.

Open Source and License Notice

This plugin is based on the open-source project Use mail templates from theme by Friends of Shopware and is distributed through our platform. Unless stated otherwise, this plugin is provided under the terms of the MIT License. The original copyright notice and the full license text are included in the plugin package.

Copyright (c) Friends of Shopware

The software is provided "as is", without warranty of any kind, to the extent permitted by applicable law. The terms of the MIT License shall prevail. You can find the full license text in the plugin package and at: https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/blob/main/LICENSE.md


Changelogs

4.0.0
Shopware version: 6.6, 6.7
2nd July 2026 (2 months ago)
  • feat: changed MailFinderService to load all TemplateTypes at once (#86)


This plugin is compatible with the following Shopware 6 versions:

6.6 6.7
  • Future updates