* fix: workflow locale
* fix: workflow locale
* fix: check if tmeplate is changed
* fix: regression
* fix: also check subject when determining if template is customized
Co-Authored-By: [email protected] <[email protected]>
* refactor: extract template matching logic into testable function
- Create detectMatchedTemplate function in separate file
- Add comprehensive unit tests (20 test cases)
- Refactor EmailWorkflowService to use the new function
Addresses review comment from hariombalhara requesting
abstraction and tests for the template matching logic.
Co-Authored-By: [email protected] <[email protected]>
---------
Co-authored-by: Morgan <[email protected]>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: [email protected] <[email protected]>