Commit c5ed582
committed
feat(email): integrate html-to-text for email body conversion
- Added `html-to-text` package to convert HTML email bodies to plain text alternatives.
- Updated `EmailService` to handle HTML content in emails, ensuring both HTML and plain text formats are sent.
- Enhanced unit tests to verify the new email sending behavior with HTML content.1 parent 013daa2 commit c5ed582
4 files changed
Lines changed: 276 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
0 commit comments