TF-657 Add headers and keywords property when get email content
This commit is contained in:
@@ -13,8 +13,14 @@ extension EmailExtension on Email {
|
||||
|
||||
bool get hasStarred => keywords?.containsKey(KeyWordIdentifier.emailFlagged) == true;
|
||||
|
||||
bool get hasMdnSent => keywords?.containsKey(KeyWordIdentifier.mdnSent) == true;
|
||||
|
||||
bool get withAttachments => hasAttachment == true;
|
||||
|
||||
bool get needShowNotificationMessageReadReceipt {
|
||||
return !hasMdnSent && headers.readReceiptHasBeenRequested;
|
||||
}
|
||||
|
||||
Set<String> getRecipientEmailAddressList() {
|
||||
final listEmailAddress = Set<String>();
|
||||
final listToAddress = to.getListAddress() ?? [];
|
||||
|
||||
Reference in New Issue
Block a user