# roles

id: a1b64b0c-dd48-49be-a6ad-7b1e55983358
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
slug: admin
name: Admin
created_at: 2026-06-08 15:22:57.859609
updated_at: 2026-06-08 15:22:57.859610
permissions:
  ["campaign:read", "campaign:write", "campaign:validate", "campaign:build", "campaign:queue", "campaign:send_test", "campaign:send", "attachments:read", "attachments:write", "reports:read", "reports:send", "audit:read", "admin:users", "admin:settings"]


id: 2ebadf7a-8e13-42de-a49b-a961164cf903
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
slug: sender
name: Sender
created_at: 2026-06-08 15:22:57.859619
updated_at: 2026-06-08 15:22:57.859619
permissions:
  ["campaign:read", "campaign:queue", "campaign:send_test", "campaign:send", "reports:read", "reports:send"]


# audit_log

id: f07f9f1a-c930-470e-9d7f-05038b01f407
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.created_minimal
object_type: campaign
object_id: 483c817c-475d-4793-9227-b5182006e17f
created_at: 2026-06-08 15:31:42.398044
updated_at: 2026-06-08 15:31:42.398052
details:
  {"version_id": "57992c81-c0f3-450f-9719-f412ee6630c2", "external_id": "new-campaign-20260608153141"}


id: c8ea2518-8fdb-4264-89ab-a7eb999a0242
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.created_minimal
object_type: campaign
object_id: c15c8135-ce33-4e4b-a446-2176c1f95b49
created_at: 2026-06-08 17:58:05.152463
updated_at: 2026-06-08 17:58:05.152471
details:
  {"version_id": "85aa1028-0783-4cfc-b27c-f9c0d95d707f", "external_id": "new-campaign-20260608175803"}


id: 1d594c07-0a74-4382-9131-c05dcc9cd0ac
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.created_minimal
object_type: campaign
object_id: ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5
created_at: 2026-06-08 18:26:05.682811
updated_at: 2026-06-08 18:26:05.682819
details:
  {"version_id": "f67a7003-0b6b-4290-a919-1e712f27c243", "external_id": "new-campaign-20260608175803-copy-20260608182605"}


id: b152a5f6-7db8-44b6-8784-c0c9a2d4275e
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_updated
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 18:26:06.169202
updated_at: 2026-06-08 18:26:06.169210
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "copied"}


id: 5407f3e9-16af-411e-9621-7f1691923295
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 18:26:21.997888
updated_at: 2026-06-08 18:26:21.997895
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "campaign-data"}


id: bb3b1a73-f6a9-48c1-94be-54942f0ed8ad
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 18:28:01.359883
updated_at: 2026-06-08 18:28:01.359891
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "template"}


id: b1c57ed7-5b9a-453f-9e9e-507fca5da015
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 18:34:51.806606
updated_at: 2026-06-08 18:34:51.806615
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "create", "current_step": "sender"}


id: f7cf7865-4f27-4162-bea2-aee1d67ff46f
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 21:16:38.567735
updated_at: 2026-06-08 21:16:38.567743
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "recipient-data"}


id: a885878a-b826-4a43-8065-57226e493df8
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 21:42:13.631177
updated_at: 2026-06-08 21:42:13.631185
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "campaign-fields"}


id: d4460a21-3943-4b6d-a247-a256b29a0af9
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 23:36:56.055922
updated_at: 2026-06-08 23:36:56.055928
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "files"}


id: 9645178d-3c71-42bb-bb77-569ba19b3b14
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-08 23:51:36.153383
updated_at: 2026-06-08 23:51:36.153391
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "mail-settings"}


id: 199cc5aa-acf1-4c9d-9142-6e057740b4d0
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-09 10:58:13.636191
updated_at: 2026-06-09 10:58:13.636194
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "create", "current_step": "basics"}


id: 06b2dbde-0158-406a-a224-71611400ef9d
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.version_autosaved
object_type: campaign_version
object_id: f67a7003-0b6b-4290-a919-1e712f27c243
created_at: 2026-06-09 13:17:51.309111
updated_at: 2026-06-09 13:17:51.309119
details:
  {"campaign_id": "ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5", "current_flow": "manual", "current_step": "campaign-settings"}


id: c89c8b4a-93ac-41d1-bf0e-af4a3b323ded
tenant_id: 88dea056-c084-48b8-b1b7-20d2d0f9b466
user_id: 1dd92976-7cfe-4fae-9270-ea02a18499c4
action: campaign.created_minimal
object_type: campaign
object_id: 7b78c4b2-57f0-40cc-96e7-8ebb52c0593f
created_at: 2026-06-10 11:13:46.238245
updated_at: 2026-06-10 11:13:46.238255
details:
  {"version_id": "dfc5e46d-a9fb-46ea-82e6-42d71aab0afb", "external_id": "new-campaign-20260610111345"}


# campaign_versions

id: 57992c81-c0f3-450f-9719-f412ee6630c2
campaign_id: 483c817c-475d-4793-9227-b5182006e17f
schema_version: 1.0
created_at: 2026-06-08 15:31:42.222601
updated_at: 2026-06-08 15:31:42.222607
workflow_state: editing
current_flow: create
current_step: basics
editor_state: {"created_from": "minimal_campaign"}
autosaved_at: 2026-06-08 15:31:42.217560
raw_json:
  {"version": "1.0", "campaign": {"id": "new-campaign-20260608153141", "name": "New Campaign", "description": "", "mode": "draft"}, "fields": [], "global_values": {}, "server": {"smtp": {"host": "", "port": 587, "username": "", "password": "", "security": "starttls"}, "imap": {"enabled": false, "host": "", "port": 993, "username": "", "password": "", "security": "tls", "sent_folder": "auto"}}, "recipients": {"from": {"name": "", "email": ""}, "allow_individual_from": false, "to": [], "allow_individual_to": true, "cc": [], "allow_individual_cc": false, "bcc": [], "allow_individual_bcc": false, "reply_to": [], "allow_individual_reply_to": false, "bounce_to": [], "allow_individual_bounce_to": false, "disposition_notification_to": [], "allow_individual_disposition_notification_to": false}, "template": {"subject": "", "text": "", "html": null}, "attachments": {"base_path": ".", "allow_individual": true, "send_without_attachments": false, "global": [], "missing_behavior": "ask", "ambiguous_behavior": "ask"}, "entries": {"inline": [], "defaults": {"active": true, "combine_to": false, "combine_cc": true, "combine_bcc": true, "combine_reply_to": true, "combine_bounce_to": true, "combine_disposition_notification_to": true, "combine_attachments": true, "attachments": []}}, "validation_policy": {"missing_required_attachment": "ask", "missing_optional_attachment": "warn", "ambiguous_attachment_match": "ask", "missing_email": "block", "template_error": "block"}, "delivery": {"rate_limit": {"messages_per_minute": 5, "concurrency": 1}, "imap_append_sent": {"enabled": false, "folder": "auto"}, "retry": {"max_attempts": 3, "backoff_seconds": [60, 300, 900]}}, "status_tracking": {"enabled": true}}


id: 85aa1028-0783-4cfc-b27c-f9c0d95d707f
campaign_id: c15c8135-ce33-4e4b-a446-2176c1f95b49
schema_version: 1.0
created_at: 2026-06-08 17:58:04.996495
updated_at: 2026-06-08 17:58:04.996500
workflow_state: editing
current_flow: create
current_step: basics
editor_state: {"created_from": "minimal_campaign"}
autosaved_at: 2026-06-08 17:58:04.993362
raw_json:
  {"version": "1.0", "campaign": {"id": "new-campaign-20260608175803", "name": "New Campaign", "description": "", "mode": "draft"}, "fields": [], "global_values": {}, "server": {"smtp": {"host": "", "port": 587, "username": "", "password": "", "security": "starttls"}, "imap": {"enabled": false, "host": "", "port": 993, "username": "", "password": "", "security": "tls", "sent_folder": "auto"}}, "recipients": {"from": {"name": "", "email": ""}, "allow_individual_from": false, "to": [], "allow_individual_to": true, "cc": [], "allow_individual_cc": false, "bcc": [], "allow_individual_bcc": false, "reply_to": [], "allow_individual_reply_to": false, "bounce_to": [], "allow_individual_bounce_to": false, "disposition_notification_to": [], "allow_individual_disposition_notification_to": false}, "template": {"subject": "", "text": "", "html": null}, "attachments": {"base_path": ".", "allow_individual": true, "send_without_attachments": false, "global": [], "missing_behavior": "ask", "ambiguous_behavior": "ask"}, "entries": {"inline": [], "defaults": {"active": true, "combine_to": false, "combine_cc": true, "combine_bcc": true, "combine_reply_to": true, "combine_bounce_to": true, "combine_disposition_notification_to": true, "combine_attachments": true, "attachments": []}}, "validation_policy": {"missing_required_attachment": "ask", "missing_optional_attachment": "warn", "ambiguous_attachment_match": "ask", "missing_email": "block", "template_error": "block"}, "delivery": {"rate_limit": {"messages_per_minute": 5, "concurrency": 1}, "imap_append_sent": {"enabled": false, "folder": "auto"}, "retry": {"max_attempts": 3, "backoff_seconds": [60, 300, 900]}}, "status_tracking": {"enabled": true}}


id: f67a7003-0b6b-4290-a919-1e712f27c243
campaign_id: ee82d8d3-50b6-4aed-b8cb-c8bec2d9c5e5
schema_version: 1.0
created_at: 2026-06-08 18:26:05.543196
updated_at: 2026-06-10 12:19:18.421023
workflow_state: editing
current_flow: manual
current_step: campaign-settings
autosaved_at: 2026-06-10 12:19:18.417819
raw_json:
  {"version": "1.0", "campaign": {"id": "new-campaign-202606081826051", "name": "Rechnungslegung-Test", "description": "", "mode": "draft"}, "fields": [{"name": "monthyear", "type": "string", "label": "Monat/Jahr", "required": true, "can_override": false}, {"name": "anrede", "type": "string", "label": "Anrede", "required": true, "can_override": true}, {"name": "number", "type": "string", "label": "Dienststelle / Bucket", "required": true, "can_override": true}, {"name": "password", "type": "password", "label": "Passwort", "required": true, "can_override": true}], "global_values": {"monthyear": "06 / 2026", "password": "", "anrede": "Sehr geehrte Damen und Herren"}, "server": {"smtp": {"host": "mail.degering.name", "port": 587, "username": "albrecht@degering.name", "password": "H4cK7h3P14n37!", "security": "starttls"}, "imap": {"enabled": true, "host": "mail.degering.name", "port": 993, "username": "albrecht@degering.name", "password": "H4cK7h3P14n37!", "security": "tls", "sent_folder": "Sent"}}, "recipients": {"from": {"name": "Albrecht Degering", "email": "test@example.com"}, "allow_individual_from": false, "to": [], "allow_individual_to": true, "cc": [], "allow_individual_cc": false, "bcc": [], "allow_individual_bcc": false, "reply_to": [], "allow_individual_reply_to": false, "bounce_to": [], "allow_individual_bounce_to": false, "disposition_notification_to": [], "allow_individual_disposition_notification_to": false}, "template": {"subject": "Rechnungslegungslisten f\u00fcr {{global:monthyear}} und Dienststelle {{local:number}}", "text": "{{local:anrede}},\n\nin der Anlage erhalten Sie die Rechnungslegungslisten f\u00fcr die Dienststelle {{local:number}} f\u00fcr den Abrechnungsmonat ${global::monthyear} im Excel-Format. Bitte verwenden Sie zum \u00d6ffnen das dauerhafte Passwort, das Ihnen bereits in der Vergangenheit zugeschickt wurde.\nDie Rechnungslegungslisten liefern den Nachweis (inkl. Brutto-/Netto-Darstellung) der auf Ihren dezentral bewirtschafteten Fonds gebuchten Personalkosten. Sie dienen der \u00dcberwachung und Kontrolle und ggf. als Nachweis gegen\u00fcber Drittmittelgebern.\nDie Listen erhalten vertrauliche personenbezogene Daten, daher sind diese nur berechtigten Personen zug\u00e4nglich zu machen und nur f\u00fcr einen unbedingt notwendigen Zeitraum aufzubewahren.\nFalls Sie Rechnungslegungslisten erhalten haben sollten, die nicht zu Ihrer Einrichtung geh\u00f6ren, bitten wir Sie um entsprechende R\u00fcckmeldung.\n\nMit freundlichen Gr\u00fc\u00dfen\n\nRechnungslegungsteam Dezernat 5", "html": ""}, "attachments": {"base_path": ".", "allow_individual": true, "send_without_attachments": false, "global": [{"id": "attachment-1781079367608", "type": "", "label": "", "base_dir": "", "file_filter": "welcome.pdf", "include_subdirs": false, "required": true, "missing_behavior": "ask", "ambiguous_behavior": "ask"}, {"id": "attachment-1781079369032", "type": "", "label": "", "base_dir": "", "file_filter": "attachments/{{local:email}}/*.pdf", "include_subdirs": false, "required": true, "missing_behavior": "ask", "ambiguous_behavior": "ask"}], "missing_behavior": "ask", "ambiguous_behavior": "ask"}, "entries": {"inline": [{"id": "recipient-1", "active": true, "to": [{"name": "Albrecht Degering", "email": "test@example.com"}], "name": "Albrecht Degering", "email": "test@example.com", "fields": {"field_2": "test2", "field_1": "5", "anrede": "Sehr geehrter Herr Degering", "number": "999999", "password": "asdasd"}, "attachments": [{"id": "attachment-1781091788233", "label": "", "base_dir": ".", "file_filter": "", "required": true, "include_subdirs": false}, {"id": "attachment-1781091790034", "label": "", "base_dir": ".", "file_filter": "", "required": true, "include_subdirs": false}]}, {"id": "recipient-2", "active": true, "to": [{"name": "Test", "email": "abc@def.de"}], "name": "Test", "email": "abc@def.de", "fields": {"field_1": "7", "anrede": "", "number": "010000", "password": "2asdasd"}, "attachments": [{"id": "attachment-1781091800983", "label": "", "base_dir": ".", "file_filter": "", "required": true, "include_subdirs": true}]}], "defaults": {"active": true, "combine_to": false, "combine_cc": true, "combine_bcc": true, "combine_reply_to": true, "combine_bounce_to": true, "combine_disposition_notification_to": true, "combine_attachments": true, "attachments": []}}, "validation_policy": {"missing_required_attachment": "ask", "missing_optional_attachment": "warn", "ambiguous_attachment_match": "ask", "missing_email": "block", "template_error": "block"}, "delivery": {"rate_limit": {"messages_per_minute": 5, "concurrency": 1}, "imap_append_sent": {"enabled": false, "folder": "/"}, "retry": {"max_attempts": 3, "backoff_seconds": [60, 300, 900]}}, "status_tracking": {"enabled": true}}

editor_state:
  {"copied_from_campaign_id": "c15c8135-ce33-4e4b-a446-2176c1f95b49", "copied_from_version_id": "85aa1028-0783-4cfc-b27c-f9c0d95d707f", "field_overrides": {"field_2": true}}


id: dfc5e46d-a9fb-46ea-82e6-42d71aab0afb
campaign_id: 7b78c4b2-57f0-40cc-96e7-8ebb52c0593f
schema_version: 1.0
created_at: 2026-06-10 11:13:46.122288
updated_at: 2026-06-10 11:13:46.122290
workflow_state: editing
current_flow: create
current_step: basics
editor_state: {"created_from": "minimal_campaign"}
autosaved_at: 2026-06-10 11:13:46.120892
raw_json:
  {"version": "1.0", "campaign": {"id": "new-campaign-20260610111345", "name": "New Campaign", "description": "", "mode": "draft"}, "fields": [], "global_values": {}, "server": {"smtp": {"host": "", "port": 587, "username": "", "password": "", "security": "starttls"}, "imap": {"enabled": false, "host": "", "port": 993, "username": "", "password": "", "security": "tls", "sent_folder": "auto"}}, "recipients": {"from": {"name": "", "email": ""}, "allow_individual_from": false, "to": [], "allow_individual_to": true, "cc": [], "allow_individual_cc": false, "bcc": [], "allow_individual_bcc": false, "reply_to": [], "allow_individual_reply_to": false, "bounce_to": [], "allow_individual_bounce_to": false, "disposition_notification_to": [], "allow_individual_disposition_notification_to": false}, "template": {"subject": "", "text": "", "html": null}, "attachments": {"base_path": ".", "allow_individual": true, "send_without_attachments": false, "global": [], "missing_behavior": "ask", "ambiguous_behavior": "ask"}, "entries": {"inline": [], "defaults": {"active": true, "combine_to": false, "combine_cc": true, "combine_bcc": true, "combine_reply_to": true, "combine_bounce_to": true, "combine_disposition_notification_to": true, "combine_attachments": true, "attachments": []}}, "validation_policy": {"missing_required_attachment": "ask", "missing_optional_attachment": "warn", "ambiguous_attachment_match": "ask", "missing_email": "block", "template_error": "block"}, "delivery": {"rate_limit": {"messages_per_minute": 5, "concurrency": 1}, "imap_append_sent": {"enabled": false, "folder": "auto"}, "retry": {"max_attempts": 3, "backoff_seconds": [60, 300, 900]}}, "status_tracking": {"enabled": true}}


