TF-3515 Add save email as template feature

This commit is contained in:
DatDang
2025-02-25 16:10:20 +07:00
committed by Dat H. Pham
parent ef1f979c4b
commit 7f09f9ceb4
40 changed files with 1079 additions and 54 deletions
@@ -103,6 +103,7 @@ void main() {
when(mockCreateEmailRequest.emailActionType).thenReturn(EmailActionType.compose);
when(mockCreateEmailRequest.hasRequestReadReceipt).thenReturn(false);
when(mockCreateEmailRequest.isMarkAsImportant).thenReturn(false);
when(mockCreateEmailRequest.templateMailboxId).thenReturn(null);
when(mockHtmlDataSource.replaceImageBase64ToImageCID(
emailContent: emailContentWithBase64,
@@ -160,6 +161,7 @@ void main() {
when(mockCreateEmailRequest.emailActionType).thenReturn(EmailActionType.compose);
when(mockCreateEmailRequest.hasRequestReadReceipt).thenReturn(false);
when(mockCreateEmailRequest.isMarkAsImportant).thenReturn(false);
when(mockCreateEmailRequest.templateMailboxId).thenReturn(null);
when(mockHtmlDataSource.replaceImageBase64ToImageCID(
emailContent: emailContentWithBase64,
@@ -214,6 +216,7 @@ void main() {
when(mockCreateEmailRequest.emailActionType).thenReturn(EmailActionType.compose);
when(mockCreateEmailRequest.hasRequestReadReceipt).thenReturn(false);
when(mockCreateEmailRequest.isMarkAsImportant).thenReturn(false);
when(mockCreateEmailRequest.templateMailboxId).thenReturn(null);
when(mockHtmlDataSource.replaceImageBase64ToImageCID(
emailContent: plainEmailContent,