feat(mail(web)): Templates folder for pre-defined drafts

To create a template, the user needs to:

 - define a mailbox as the Templates folder;
 - move a draft to this special folder.

Fixes #4320
Fixes #5363
This commit is contained in:
Francis Lachapelle
2022-02-11 10:06:57 -05:00
parent 02b0a41567
commit c986422a3d
25 changed files with 230 additions and 9 deletions
@@ -479,6 +479,12 @@
}
};
this.compose = function($event) {
if (!this._showMailEditorInPopup('compose')) {
_showMailEditor($event, this.message.$compose());
}
};
this.openInPopup = function(action) {
var url = [sgSettings.baseURL(),
'UIxMailPopupView#!/Mail',