add feature to consume imap mail als .eml

This commit is contained in:
phail
2022-04-15 14:40:02 +02:00
parent edafe401a5
commit 1393dd84f4
4 changed files with 149 additions and 62 deletions

View File

@@ -0,0 +1,32 @@
# Generated by Django 4.0.4 on 2022-04-14 22:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("paperless_mail", "0009_alter_mailrule_action_alter_mailrule_folder"),
]
operations = [
migrations.AddField(
model_name="mailrule",
name="consumption_scope",
field=models.PositiveIntegerField(
choices=[
(1, "Only process attachments."),
(
2,
"Process full Mail (with embedded attachments in file) as .eml",
),
(
3,
"Process full Mail (with embedded attachments in file) as .eml + process attachments as separate documents",
),
],
default=1,
verbose_name="consumption scope",
),
),
]