Paperless will only process mails that match all of the filters specified below.
diff --git a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts index a2486e141..63699fd66 100644 --- a/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts +++ b/src-ui/src/app/components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component.ts @@ -12,6 +12,7 @@ import { MailMetadataCorrespondentOption, MailMetadataTitleOption, PaperlessMailRule, + MailRuleConsumptionScope, } from 'src/app/data/paperless-mail-rule' import { CorrespondentService } from 'src/app/services/rest/correspondent.service' import { DocumentTypeService } from 'src/app/services/rest/document-type.service' @@ -21,15 +22,26 @@ import { MailRuleService } from 'src/app/services/rest/mail-rule.service' const ATTACHMENT_TYPE_OPTIONS = [ { id: MailFilterAttachmentType.Attachments, - name: $localize`Only process attachments.`, - }, - { - id: MailFilterAttachmentType.Email_Only, - name: $localize`Process with embedded attachments as .eml`, + name: $localize`Only process attachments`, }, { id: MailFilterAttachmentType.Everything, - name: $localize`Process as .eml and attachments as separate documents`, + name: $localize`Process all files, including 'inline' attachments`, + }, +] + +const CONSUMPTION_SCOPE_OPTIONS = [ + { + id: MailRuleConsumptionScope.Attachments, + name: $localize`Only process attachments`, + }, + { + id: MailRuleConsumptionScope.Email_Only, + name: $localize`Process message as .eml`, + }, + { + id: MailRuleConsumptionScope.Everything, + name: $localize`Process message as .eml and attachments separately`, }, ] @@ -140,6 +152,7 @@ export class MailRuleEditDialogComponent extends EditDialogComponent